[][src]Struct futures::executor::BlockingStream

pub struct BlockingStream<S> where
    S: Unpin + Stream
{ /* fields omitted */ }

An iterator which blocks on values from a stream until they become available.

Methods

impl<S> BlockingStream<S> where
    S: Unpin + Stream
[src]

pub fn into_inner(self) -> S[src]

Convert this BlockingStream into the inner Stream type.

Trait Implementations

impl<S> DerefMut for BlockingStream<S> where
    S: Unpin + Stream
[src]

impl<S> Deref for BlockingStream<S> where
    S: Unpin + Stream
[src]

type Target = S

The resulting type after dereferencing.

impl<S> Debug for BlockingStream<S> where
    S: Unpin + Debug + Stream
[src]

impl<S> Iterator for BlockingStream<S> where
    S: Unpin + Stream
[src]

type Item = <S as Stream>::Item

The type of the elements being iterated over.

Auto Trait Implementations

impl<S> Send for BlockingStream<S> where
    S: Send

impl<S> Sync for BlockingStream<S> where
    S: Sync

impl<S> Unpin for BlockingStream<S>

impl<S> UnwindSafe for BlockingStream<S> where
    S: UnwindSafe

impl<S> RefUnwindSafe for BlockingStream<S> where
    S: RefUnwindSafe

Blanket Implementations

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

type Error = !

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> 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]