Struct futures::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, C> Debug for Collect<S, C> where
C: Debug,
S: Debug + Stream,
[src]
C: Debug,
S: Debug + Stream,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<S, C> Future for Collect<S, C> where
C: Default + Extend<<S as Stream>::Item>,
S: Stream,
[src]
C: Default + Extend<<S as Stream>::Item>,
S: Stream,