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

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

Deprecated

: functionality provided by select now

An item from the first stream

Deprecated

: functionality provided by select now

An item from the second stream

Deprecated

: functionality provided by select now

Items from both streams

Trait Implementations

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

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