pub enum Event {
Created {
buffer: NewId,
},
Failed,
}
Variants§
Created
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.
Fields
§
buffer: NewId
the newly created wl_buffer
Failed
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more