[][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> Deref for BlockingStream<S> where
    S: Unpin + Stream
[src]

type Target = S

The resulting type after dereferencing.

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.

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

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

Auto Trait Implementations

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

impl<S> Unpin for BlockingStream<S>

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

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