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

#[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> Stream for IterOk<I, E> where
    I: Iterator
[src]

type Item = I::Item

The type of item this stream will yield on success.

type Error = E

The type of error this stream may generate.

impl<I: Debug, E: Debug> Debug for IterOk<I, E>[src]

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]