pub struct EventHandle<O: OwnerMut<Event>>(/* private fields */);Expand description
Represents a handle into the listing of the current task in an Event.
When this handle is dropped, that task is removed from the event’s set.
Implementations§
Source§impl<O: OwnerMut<Event>> EventHandle<O>
impl<O: OwnerMut<Event>> EventHandle<O>
Trait Implementations§
Auto Trait Implementations§
impl<O> Freeze for EventHandle<O>where
O: Freeze,
impl<O> RefUnwindSafe for EventHandle<O>where
O: RefUnwindSafe,
impl<O> Send for EventHandle<O>where
O: Send,
impl<O> Sync for EventHandle<O>where
O: Sync,
impl<O> Unpin for EventHandle<O>where
O: Unpin,
impl<O> UnwindSafe for EventHandle<O>where
O: UnwindSafe,
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