Struct futures::stream::IterOk [] [src]

#[must_use = "streams do nothing unless polled"]
pub struct IterOk<I, E> { /* 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, E> Debug for IterOk<I, E> where
    E: Debug,
    I: Debug


Formats the value using the given formatter. Read more

impl<I, E> Stream for IterOk<I, E> where
    I: Iterator

Values yielded by the stream.

Errors yielded by the stream.


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, E> Send for IterOk<I, E> where
    I: Send

impl<I, E> Sync for IterOk<I, E> where
    I: Sync