[][src]Struct futures::stream::Chain

#[must_use = "streams do nothing unless polled"]
pub struct Chain<S1, S2> { /* fields omitted */ }

An adapter for chaining the output of two streams.

The resulting stream produces items from first stream and then from second stream.

Trait Implementations

impl<S1, S2> Stream for Chain<S1, S2> where
    S1: Stream,
    S2: Stream<Item = S1::Item, Error = S1::Error>, 
[src]

type Item = S1::Item

The type of item this stream will yield on success.

type Error = S1::Error

The type of error this stream may generate.

impl<S1: Debug, S2: Debug> Debug for Chain<S1, S2>[src]

Auto Trait Implementations

impl<S1, S2> Unpin for Chain<S1, S2> where
    S1: Unpin,
    S2: Unpin

impl<S1, S2> Send for Chain<S1, S2> where
    S1: Send,
    S2: Send

impl<S1, S2> Sync for Chain<S1, S2> where
    S1: Sync,
    S2: Sync

impl<S1, S2> UnwindSafe for Chain<S1, S2> where
    S1: UnwindSafe,
    S2: UnwindSafe

impl<S1, S2> RefUnwindSafe for Chain<S1, S2> where
    S1: RefUnwindSafe,
    S2: RefUnwindSafe

Blanket Implementations

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

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

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]