[][src]Struct smol::stream::Zip

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

Stream for the StreamExt::zip() method.

Trait Implementations

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

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

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

type Item = (<A as Stream>::Item, <B as Stream>::Item)

Values yielded by the stream.

impl<'__pin, A, B> Unpin for Zip<A, B> where
    A: Stream,
    __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.