Struct futures_util::stream::Collect
[−]
[src]
#[must_use = "streams do nothing unless polled"]pub struct Collect<S> where
S: Stream, { /* fields omitted */ }
A future which collects all of the values of a stream into a vector.
This future is created by the Stream::collect
method.
Trait Implementations
impl<S: Debug> Debug for Collect<S> where
S: Stream,
S::Item: Debug,
[src]
S: Stream,
S::Item: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<S> Future for Collect<S> where
S: Stream,
[src]
S: Stream,