[]Struct async_std::stream::Flatten

pub struct Flatten<S> where
    S: Stream,
    S::Item: IntoStream
{ /* fields omitted */ }

A stream that flattens one level of nesting in an stream of things that can be turned into streams.

This struct is created by the flatten method on Stream. See its documentation for more.

Trait Implementations

impl<S, U> Stream for Flatten<S> where
    S: Stream,
    S::Item: IntoStream<IntoStream = U, Item = U::Item>,
    U: Stream
[src]

type Item = U::Item

The type of items yielded by this stream. Read more

impl<'__pin, S> Unpin for Flatten<S> where
    __Origin<'__pin, S>: Unpin,
    S: Stream,
    S::Item: IntoStream

impl<S, U> Debug for Flatten<S> where
    S: Debug + Stream,
    S::Item: IntoStream<IntoStream = U, Item = U::Item>,
    U: Debug + Stream
[src]

Auto Trait Implementations

impl<S> Send for Flatten<S> where
    S: Send,
    <<S as Stream>::Item as IntoStream>::IntoStream: Send

impl<S> Sync for Flatten<S> where
    S: Sync,
    <<S as Stream>::Item as IntoStream>::IntoStream: Sync

impl<S> UnwindSafe for Flatten<S> where
    S: UnwindSafe,
    <<S as Stream>::Item as IntoStream>::IntoStream: UnwindSafe

impl<S> RefUnwindSafe for Flatten<S> where
    S: RefUnwindSafe,
    <<S as Stream>::Item as IntoStream>::IntoStream: 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> 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]