Struct futures_lite::stream::Zip[][src]

#[must_use = "streams do nothing unless polled"]pub struct Zip<A: Stream, B> { /* fields omitted */ }

Stream for the StreamExt::zip() method.

Trait Implementations

impl<A: Clone + Stream, B: Clone> Clone for Zip<A, B> where
    A::Item: Clone
[src]

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

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

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

Values yielded by the stream.

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

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
[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<S> StreamExt for S where
    S: Stream + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.