pub trait CancelFuturewhere
    Self: Future + Sized,{
    // Provided method
    fn or_cancel<H: RcLike<CancelHandle>>(
        self,
        cancel_handle: H
    ) -> Cancelable<Self>  { ... }
}

Provided Methods§

source

fn or_cancel<H: RcLike<CancelHandle>>( self, cancel_handle: H ) -> Cancelable<Self>

Implementors§

source§

impl<F> CancelFuture for Fwhere F: Future,