[][src]Struct tokio::prelude::stream::Iter

#[must_use = "streams do nothing unless polled"]
pub struct Iter<I>(_);
Deprecated:

implementation moved to iter_ok and iter_result

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 for Iter<I> where
    I: Debug
[src]

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

type Item = T

The type of item this stream will yield on success.

type Error = E

The type of error this stream may generate.

Auto Trait Implementations

impl<I> RefUnwindSafe for Iter<I> where
    I: RefUnwindSafe

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

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

impl<I> Unpin for Iter<I> where
    I: Unpin

impl<I> UnwindSafe for Iter<I> where
    I: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.