pub struct CancellationWaiter { /* private fields */ }Expand description
A race-safe future resolving to the immutable terminal reason.
It holds only a weak token reference and unregisters its stored waker when dropped.
Trait Implementations§
Source§impl Debug for CancellationWaiter
impl Debug for CancellationWaiter
Source§impl Drop for CancellationWaiter
impl Drop for CancellationWaiter
Source§impl Future for CancellationWaiter
impl Future for CancellationWaiter
Auto Trait Implementations§
impl Freeze for CancellationWaiter
impl RefUnwindSafe for CancellationWaiter
impl Send for CancellationWaiter
impl Sync for CancellationWaiter
impl Unpin for CancellationWaiter
impl UnsafeUnpin for CancellationWaiter
impl UnwindSafe for CancellationWaiter
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more