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

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

Stream for the context combinator.

See the TryStreamExt::context method for more details.

Trait Implementations

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

impl<St, C, E> PinnedDrop for Context<St, C, E>[src]

impl<St, C, E> Stream for Context<St, C, E> where
    St: TryStream,
    C: IntoError<E, Source = St::Error> + Clone,
    E: Error + ErrorCompat
[src]

type Item = Result<St::Ok, E>

Values yielded by the stream.

impl<'pin, St, C, E> Unpin for Context<St, C, E> where
    __Context<'pin, St, C, E>: Unpin
[src]

impl<St, C, E> UnsafeUnpin for Context<St, C, E>[src]

Auto Trait Implementations

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

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

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

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

Blanket Implementations

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

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

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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<S, T, E> TryStream for S where
    S: Stream<Item = 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

impl<St> TryStreamExt for St where
    St: TryStream
[src]