[]Struct async_std::stream::Zip

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

An iterator that iterates two other iterators simultaneously.

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

Trait Implementations

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

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

Auto Trait Implementations

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

impl<A, B> RefUnwindSafe for Zip<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
    <A as Stream>::Item: 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]