[][src]Enum futures::stream::MergedItem

pub enum MergedItem<I1, I2> {
    First(I1),
    Second(I2),
    Both(I1, I2),
}
Deprecated:

functionality provided by select now

An item returned from a merge stream, which represents an item from one or both of the underlying streams.

Variants

First(I1)
Deprecated:

functionality provided by select now

An item from the first stream

Second(I2)
Deprecated:

functionality provided by select now

An item from the second stream

Both(I1, I2)
Deprecated:

functionality provided by select now

Items from both streams

Trait Implementations

impl<I1: Debug, I2: Debug> Debug for MergedItem<I1, I2>[src]

Auto Trait Implementations

impl<I1, I2> Unpin for MergedItem<I1, I2> where
    I1: Unpin,
    I2: Unpin

impl<I1, I2> Send for MergedItem<I1, I2> where
    I1: Send,
    I2: Send

impl<I1, I2> Sync for MergedItem<I1, I2> where
    I1: Sync,
    I2: Sync

impl<I1, I2> UnwindSafe for MergedItem<I1, I2> where
    I1: UnwindSafe,
    I2: UnwindSafe

impl<I1, I2> RefUnwindSafe for MergedItem<I1, I2> where
    I1: RefUnwindSafe,
    I2: RefUnwindSafe

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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]