Struct futures::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, C> Unpin for TryCollect<S, C> where
    S: Unpin + TryStream
[src]

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

Formats the value using the given formatter. Read more

impl<S, C> Future for TryCollect<S, C> where
    C: Default + Extend<<S as TryStream>::Ok>,
    S: TryStream
[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