Struct WaitForCancellationFuture

struct WaitForCancellationFuture<'a> { ... }

A Future that is resolved once the corresponding CancellationToken is cancelled.

Implementations

impl<'__pin, 'a> Unpin for WaitForCancellationFuture<'a>

impl<'a> Debug for WaitForCancellationFuture<'a>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<'a> Freeze for WaitForCancellationFuture<'a>

impl<'a> Future for WaitForCancellationFuture<'a>

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()>

impl<'a> RefUnwindSafe for WaitForCancellationFuture<'a>

impl<'a> Send for WaitForCancellationFuture<'a>

impl<'a> Sync for WaitForCancellationFuture<'a>

impl<'a> UnsafeUnpin for WaitForCancellationFuture<'a>

impl<'a> UnwindSafe for WaitForCancellationFuture<'a>

impl<F> IntoFuture for WaitForCancellationFuture<'a>

fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture

impl<T> Any for WaitForCancellationFuture<'a>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for WaitForCancellationFuture<'a>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for WaitForCancellationFuture<'a>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for WaitForCancellationFuture<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for WaitForCancellationFuture<'a>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for WaitForCancellationFuture<'a>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for WaitForCancellationFuture<'a>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>