[][src]Struct futures_executor::BlockingStream

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

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

Methods

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

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

Convert this BlockingStream into the inner Stream type.

Trait Implementations

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

type Item = S::Item

The type of the elements being iterated over.

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

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

type Target = S

The resulting type after dereferencing.

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

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