[][src]Struct snafu::futures::try_future::Context

#[must_use = "futures do nothing unless polled"]
pub struct Context<Fut, C, E> { /* fields omitted */ }

Future for the context combinator.

See the TryFutureExt::context method for more details.

Trait Implementations

impl<Fut, C, E> Unpin for Context<Fut, C, E> where
    Fut: Unpin
[src]

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

impl<Fut, C, E> Future for Context<Fut, C, E> where
    Fut: TryFuture,
    C: IntoError<E, Source = Fut::Error>,
    E: Error + ErrorCompat
[src]

type Output = Result<Fut::Ok, E>

The type of value produced on completion.

Auto Trait Implementations

impl<Fut, C, E> Sync for Context<Fut, C, E> where
    C: Sync,
    E: Sync,
    Fut: Sync

impl<Fut, C, E> Send for Context<Fut, C, E> where
    C: Send,
    E: Send,
    Fut: Send

impl<Fut, C, E> RefUnwindSafe for Context<Fut, C, E> where
    C: RefUnwindSafe,
    E: RefUnwindSafe,
    Fut: RefUnwindSafe

impl<Fut, C, E> UnwindSafe for Context<Fut, C, E> where
    C: UnwindSafe,
    E: UnwindSafe,
    Fut: UnwindSafe

Blanket Implementations

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture
[src]

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

impl<T, U> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future