Trait wayland_protocols::unstable::linux_dmabuf::v1::client::zwp_linux_dmabuf_v1::RequestsTrait
[−]
[src]
pub trait RequestsTrait {
fn destroy(&self);
fn create_params(&self) -> Result<NewProxy<ZwpLinuxBufferParamsV1>, ()>;
}
Required Methods
fn destroy(&self)
unbind the factory
Objects created through this interface, especially wl_buffers, will remain valid.
This is a destructor, you cannot send requests to this object any longer once this method is called.
fn create_params(&self) -> Result<NewProxy<ZwpLinuxBufferParamsV1>, ()>
create a temporary object for buffer parameters
This temporary object is used to collect multiple dmabuf handles into a single batch to create a wl_buffer. It can only be used once and should be destroyed after a 'created' or 'failed' event has been received.