pub struct PollEventsGuard<'a> { /* private fields */ }
Available on crate features
unix
and poll-driver
only.Expand description
A guard for the returned events of the poll handler.
Dropping this handle will allow the background thread to poll the handler again.
Constructed by waiting on AsyncPoll::returned_events.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PollEventsGuard<'a>
impl<'a> RefUnwindSafe for PollEventsGuard<'a>
impl<'a> Send for PollEventsGuard<'a>
impl<'a> Sync for PollEventsGuard<'a>
impl<'a> Unpin for PollEventsGuard<'a>
impl<'a> UnwindSafe for PollEventsGuard<'a>
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