[−]Struct kyansel::Cancellable
Future for the cancel_with
combinator, allowing a computation to be cancelled
if a second computation completes succesfully.
Created with FutureCancellable::cancel_with
Trait Implementations
impl<'__pin, F, S> Unpin for Cancellable<F, S> where
__Origin<'__pin, F, S>: Unpin,
F: Future,
S: Future,
__Origin<'__pin, F, S>: Unpin,
F: Future,
S: Future,
impl<F: Debug, S: Debug> Debug for Cancellable<F, S> where
F: Future,
S: Future,
[src]
F: Future,
S: Future,
impl<F, S> Future for Cancellable<F, S> where
F: Future,
S: Future,
[src]
F: Future,
S: Future,
Auto Trait Implementations
impl<F, S> Send for Cancellable<F, S> where
F: Send,
S: Send,
F: Send,
S: Send,
impl<F, S> Sync for Cancellable<F, S> where
F: Sync,
S: Sync,
F: Sync,
S: Sync,
impl<F, S> UnwindSafe for Cancellable<F, S> where
F: UnwindSafe,
S: UnwindSafe,
F: UnwindSafe,
S: UnwindSafe,
impl<F, S> RefUnwindSafe for Cancellable<F, S> where
F: RefUnwindSafe,
S: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,