Trait deno_core::CancelTryFuture
source · pub trait CancelTryFuturewhere
Self: TryFuture + Sized,
Canceled: Into<Self::Error>,{
// Provided method
fn try_or_cancel<H: RcLike<CancelHandle>>(
self,
cancel_handle: H
) -> TryCancelable<Self> ⓘ { ... }
}
Provided Methods§
fn try_or_cancel<H: RcLike<CancelHandle>>( self, cancel_handle: H ) -> TryCancelable<Self> ⓘ
Object Safety§
This trait is not object safe.