Trait deno_core::CancelTryFuture[][src]

pub trait CancelTryFuture where
    Self: TryFuture + Sized,
    Canceled: Into<Self::Error>, 
{ fn try_or_cancel<H: RcLike<CancelHandle>>(
        self,
        cancel_handle: H
    ) -> TryCancelable<Self>
Notable traits for TryCancelable<F>
impl<F, T, E> Future for TryCancelable<F> where
    F: Future<Output = Result<T, E>>,
    Canceled: Into<E>, 
type Output = F::Output;
{ ... } }

Provided methods

Implementors