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

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

Stream for the with_context combinator.

See the TryStreamExt::with_context method for more details.

Trait Implementations

impl<St: Debug, F: Debug, E: Debug> Debug for WithContext<St, F, E>[src]

impl<St, F, E> PinnedDrop for WithContext<St, F, E>[src]

impl<St, F, C, E> Stream for WithContext<St, F, E> where
    St: TryStream,
    F: FnMut() -> C,
    C: IntoError<E, Source = St::Error>,
    E: Error + ErrorCompat
[src]

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

Values yielded by the stream.

impl<'pin, St, F, E> Unpin for WithContext<St, F, E> where
    __WithContext<'pin, St, F, E>: Unpin
[src]

impl<St, F, E> UnsafeUnpin for WithContext<St, F, E>[src]

Auto Trait Implementations

impl<St, F, E> RefUnwindSafe for WithContext<St, F, E> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    St: RefUnwindSafe

impl<St, F, E> Send for WithContext<St, F, E> where
    E: Send,
    F: Send,
    St: Send

impl<St, F, E> Sync for WithContext<St, F, E> where
    E: Sync,
    F: Sync,
    St: Sync

impl<St, F, E> UnwindSafe for WithContext<St, F, E> where
    E: UnwindSafe,
    F: 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]