pub struct Events { /* private fields */ }Expand description
Pre-allocated buffer of tokens returned by Poller::poll.
Follows the mio Events pattern: allocate once at setup,
pass to poll() each iteration. The buffer is cleared and
refilled on each poll.
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