Implementations
Trait Implementations
sourceimpl<T, F: FnMut(&mut Exec<'_>) -> Poll<T> + Unpin> Notifier for Poller<T, F>
impl<T, F: FnMut(&mut Exec<'_>) -> Poll<T> + Unpin> Notifier for Poller<T, F>
type Event = T
type Event = T
The event produced by this notifier
sourcefn poll_next(self: Pin<&mut Self>, e: &mut Exec<'_>) -> Poll<T>
fn poll_next(self: Pin<&mut Self>, e: &mut Exec<'_>) -> Poll<T>
Get the next event from this notifier, registering a wakeup when not ready. Read more
sourcefn next(&mut self) -> EventFuture<'_, Self> where
Self: Sized + Unpin,
fn next(&mut self) -> EventFuture<'_, Self> where
Self: Sized + Unpin,
Get the next Self::Event
Read more
sourcefn map<B, F>(self, f: F) -> Map<Self, F> where
Self: Sized + Unpin,
fn map<B, F>(self, f: F) -> Map<Self, F> where
Self: Sized + Unpin,
Transform produced Self::Event
s with a function.
Auto Trait Implementations
impl<T, F> RefUnwindSafe for Poller<T, F> where
F: RefUnwindSafe,
impl<T, F> Send for Poller<T, F> where
F: Send,
impl<T, F> Sync for Poller<T, F> where
F: Sync,
impl<T, F> Unpin for Poller<T, F>
impl<T, F> UnwindSafe for Poller<T, F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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