1.36.0[−][src]Struct futures::task::Waker
A Waker
is a handle for waking up a task by notifying its executor that it
is ready to be run.
This handle encapsulates a RawWaker
instance, which defines the
executor-specific wakeup behavior.
Methods
impl Waker
[src][−]
pub fn wake(self)
[src][+]
pub fn wake_by_ref(&self)
[src][+]
pub fn will_wake(&self, other: &Waker) -> bool
[src][+]
pub unsafe fn from_raw(waker: RawWaker) -> Waker
[src][+]
Trait Implementations
impl Drop for Waker
[src][+]
impl Clone for Waker
[src][+]
impl Unpin for Waker
[src]
impl Sync for Waker
[src]
impl Send for Waker
[src]
impl Debug for Waker
[src][+]
Blanket Implementations
impl<T> From for T
[src][+]
impl<T, U> Into for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T> Borrow for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,