fn collect<C>(self) -> Collect<Self, C>
    where
        C: Default + Extend<Self::Item>,
        Self: Sized,
    {
        Collect::new(self)
    }
/// Transforms a stream into a collection, returning a
/// future representing the result of that computation.
///
/// The returned future will be resolved when the stream terminates.
Transforms a stream into a collection, returning a
future representing the result of that computation.

The returned future will be resolved when the stream terminates.
Transforms a stream into a collection returning a future representing the result of that computation . The returned future will be resolved when the stream terminates .
fn collect<C>(self) -> Collect<Self, C>
    where
        C: Default + Extend<Self::Item>,
        Self: Sized,
    {
        Collect::new(self)
    }
fn collect < C > ( self ) -> Collect < Self , C > where C : Default + Extend < Self :: Item > , Self : Sized , { Collect :: new ( self ) }
Transforms a stream into a collection, returning a
future representing the result of that computation.
Transforms a stream into a collection returning a future representing the result of that computation .
self
self