[][src]Struct snafu::futures01::stream::WithContext

pub struct WithContext<St, F, E> { /* fields omitted */ }

Stream for the with_context combinator.

See the StreamExt::with_context method for more details.

Trait Implementations

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

type Item = St::Item

The type of item this stream will yield on success.

type Error = E

The type of error this stream may generate.

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

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<St> StreamExt for St where
    St: Stream
[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.