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

Implementations

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

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

type Item = S::Item

The type of the elements being iterated over.

Auto Trait Implementations

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

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

Blanket Implementations

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

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

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

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

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, 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.