pub struct Events { /* private fields */ }Expand description
A collection of readiness events.
Events is passed as an argument to Poll::poll, and provides any readiness events received
since the last poll. Usually, a single Events instance is created at the same time as a
Poll and reused on each call to Poll::poll.
See Poll for more documentation on polling.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnsafeUnpin for Events
impl UnwindSafe for Events
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