pub struct Event { /* private fields */ }
Implementations§
Source§impl Event
impl Event
pub fn new() -> MesaResult<Event>
pub fn signal(&mut self) -> MesaResult<()>
pub fn wait(&self) -> MesaResult<()>
pub fn try_clone(&self) -> MesaResult<Event>
Trait Implementations§
Source§impl AsBorrowedDescriptor for Event
impl AsBorrowedDescriptor for Event
fn as_borrowed_descriptor(&self) -> &OwnedDescriptor
Source§impl From<Event> for MesaHandle
impl From<Event> for MesaHandle
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