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

#[must_use = "streams do nothing unless polled"]
pub struct IterStream<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, 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.

impl<I> Debug for Iter<I> where
    I: Debug
[src]

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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