[][src]Enum kyansel::CancellableError

pub enum CancellableError<C, E> {
    Cancelled(C),
    Errored(E),
}

Error returned by Cancellable

Variants

Cancelled(C)

If the inner future was cancelled

Errored(E)

If the inner future just errored

Trait Implementations

impl<C: Debug, E: Debug> Debug for CancellableError<C, E>[src]

Auto Trait Implementations

impl<C, E> Send for CancellableError<C, E> where
    C: Send,
    E: Send

impl<C, E> Sync for CancellableError<C, E> where
    C: Sync,
    E: Sync

impl<C, E> Unpin for CancellableError<C, E> where
    C: Unpin,
    E: Unpin

impl<C, E> UnwindSafe for CancellableError<C, E> where
    C: UnwindSafe,
    E: UnwindSafe

impl<C, E> RefUnwindSafe for CancellableError<C, E> where
    C: RefUnwindSafe,
    E: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]