Struct futures::stream::Concat [] [src]

#[must_use = "streams do nothing unless polled"]
pub struct Concat<S> where
    S: Stream
{ /* fields omitted */ }

A stream combinator to concatenate the results of a stream into the first yielded item.

This structure is produced by the Stream::concat method.

Trait Implementations

impl<S> Debug for Concat<S> where
    S: Debug + Stream,
    <S as Stream>::Item: Debug


Formats the value using the given formatter. Read more

impl<S> Future for Concat<S> where
    S: Stream,
    <S as Stream>::Item: Extend<<<S as Stream>::Item as IntoIterator>::Item>,
    <S as Stream>::Item: IntoIterator,
    <S as Stream>::Item: Default

A successful value

An error


Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<S> Send for Concat<S> where
    S: Send,
    <S as Stream>::Item: Send

impl<S> Sync for Concat<S> where
    S: Sync,
    <S as Stream>::Item: Sync