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

#[must_use = "streams do nothing unless polled"]
pub struct Chain<St1, St2> { /* 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<St1, St2> Debug for Chain<St1, St2> where
    St1: Debug,
    St2: Debug
[src]

Formats the value using the given formatter. Read more

impl<St1, St2> Stream for Chain<St1, St2> where
    St1: Stream,
    St2: Stream<Item = <St1 as Stream>::Item>, 
[src]

Values yielded by the stream.

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more

Auto Trait Implementations

impl<St1, St2> Send for Chain<St1, St2> where
    St1: Send,
    St2: Send

impl<St1, St2> Sync for Chain<St1, St2> where
    St1: Sync,
    St2: Sync