pub struct Event {
pub token: usize,
pub extra: usize,
/* private fields */
}
Expand description
The event that poll
would return, events are generated when a select coroutine
has finished it’s top half
Fields§
§token: usize
the token associated with the select coroutine
extra: usize
the select coroutine can use it to pass extra data with the caller
Trait Implementations§
Auto Trait Implementations§
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