[]Struct async_std::stream::Zip

pub struct Zip<A: Stream, B> { /* fields omitted */ }

A stream that takes items from two other streams simultaneously.

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

Trait Implementations

impl<A: Stream + Debug, B: Debug> Debug for Zip<A, B>[src]

impl<A: Stream, B: Stream> Stream for Zip<A, B>[src]

type Item = (A::Item, B::Item)

The type of items yielded by this stream. Read more

impl<'__pin, A: Stream, B> Unpin for Zip<A, B> where
    __Origin<'__pin, A, B>: Unpin

Auto Trait Implementations

impl<A, B> RefUnwindSafe for Zip<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
    <A as Stream>::Item: RefUnwindSafe

impl<A, B> Send for Zip<A, B> where
    A: Send,
    B: Send,
    <A as Stream>::Item: Send

impl<A, B> Sync for Zip<A, B> where
    A: Sync,
    B: Sync,
    <A as Stream>::Item: Sync

impl<A, B> UnwindSafe for Zip<A, B> where
    A: UnwindSafe,
    B: UnwindSafe,
    <A as Stream>::Item: UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.