Struct futures_util::stream::IterResult [] [src]

#[must_use = "streams do nothing unless polled"]
pub struct IterResult<I> { /* fields omitted */ }

A stream which is just a shim over an underlying instance of Iterator.

This stream will never block and is always ready.

Trait Implementations

impl<I: Debug> Debug for IterResult<I>
[src]

[src]

Formats the value using the given formatter. Read more

impl<I, T, E> Stream for IterResult<I> where
    I: Iterator<Item = Result<T, E>>, 
[src]

Values yielded by the stream.

Errors yielded by the stream.

[src]

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more

Auto Trait Implementations

impl<I> Send for IterResult<I> where
    I: Send

impl<I> Sync for IterResult<I> where
    I: Sync