[−][src]Trait wayland_protocols::unstable::linux_dmabuf::v1::client::zwp_linux_buffer_params_v1::EventHandler
An interface for handling events.
Provided methods
fn created(
&mut self,
object: ZwpLinuxBufferParamsV1,
buffer: NewProxy<WlBuffer>
)
&mut self,
object: ZwpLinuxBufferParamsV1,
buffer: NewProxy<WlBuffer>
)
buffer creation succeeded
This event indicates that the attempted buffer creation was successful. It provides the new wl_buffer referencing the dmabuf(s).
Upon receiving this event, the client should destroy the zlinux_dmabuf_params object.
fn failed(&mut self, object: ZwpLinuxBufferParamsV1)
buffer creation failed
This event indicates that the attempted buffer creation has failed. It usually means that one of the dmabuf constraints has not been fulfilled.
Upon receiving this event, the client should destroy the zlinux_buffer_params object.