[][src]Struct futures_util::try_stream::TryNext

#[must_use = "streams do nothing unless polled"]
pub struct TryNext<'a, St: Unpin + 'a> { /* 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<'a, St: Debug + Unpin + 'a> Debug for TryNext<'a, St>
[src]

Formats the value using the given formatter. Read more

impl<St: Unpin, '_> Unpin for TryNext<'_, St>
[src]

impl<St: TryStream + Unpin, '_> Future for TryNext<'_, St>
[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<'a, St> Send for TryNext<'a, St> where
    St: Send

impl<'a, St> Sync for TryNext<'a, St> where
    St: Sync