Struct futures_util::stream::Collect
[−]
[src]
#[must_use = "streams do nothing unless polled"]pub struct Collect<S, C> 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, C: Debug> Debug for Collect<S, C> where
S: Stream,
[src]
S: Stream,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<S, C> Future for Collect<S, C> where
S: Stream,
C: Default + Extend<S::Item>,
[src]
S: Stream,
C: Default + Extend<S::Item>,