pub trait CancelTryFuture
where Self: TryFuture + Sized, Canceled: Into<Self::Error>,
{ // Provided method fn try_or_cancel<H: RcLike<CancelHandle>>( self, cancel_handle: H ) -> TryCancelable<Self> { ... } }

Provided Methods§

source

fn try_or_cancel<H: RcLike<CancelHandle>>( self, cancel_handle: H ) -> TryCancelable<Self>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<F> CancelTryFuture for F
where F: TryFuture, Canceled: Into<F::Error>,