Struct futures_util::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> Debug for Concat<S> where
    S: Stream,
    S::Item: Debug
[src]

[src]

Formats the value using the given formatter. Read more

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

A successful value

An error

[src]

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