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

#[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, T, E> Stream for IterResult<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 IterResult<I> where
    I: Debug
[src]

Auto Trait Implementations

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

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

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

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

impl<I> RefUnwindSafe for IterResult<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]