pub struct EventId(_);
Expand description
EventId is a reactor’s id for the event that was awoken.
The same waker can be scheduled to awake on many i/o events (for example with join!) and this id is used by the leaf futures to verify if executor has invoked the poll() method because this future was awoken.
EventId is created from EventNode.
Implementations
Trait Implementations
impl Copy for EventId
impl Eq for EventId
impl StructuralEq for EventId
impl StructuralPartialEq for EventId
Auto Trait Implementations
impl RefUnwindSafe for EventId
impl !Send for EventId
impl !Sync for EventId
impl Unpin for EventId
impl UnwindSafe for EventId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more