Struct futures_util::try_stream::TryCollect[][src]

#[must_use = "streams do nothing unless polled"]
pub struct TryCollect<S, C> where
    S: TryStream
{ /* fields omitted */ }

A future which attempts to collect all of the values of a stream.

This future is created by the Stream::try_collect method.

Trait Implementations

impl<S: Debug, C: Debug> Debug for TryCollect<S, C> where
    S: TryStream
[src]

Formats the value using the given formatter. Read more

impl<S: Unpin + TryStream, C> Unpin for TryCollect<S, C>
[src]

impl<S, C> Future for TryCollect<S, C> where
    S: TryStream,
    C: Default + Extend<S::Ok>, 
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

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, C> Send for TryCollect<S, C> where
    C: Send,
    S: Send

impl<S, C> Sync for TryCollect<S, C> where
    C: Sync,
    S: Sync