Enum httpbis::futures_misc::Merged2Item[][src]

pub enum Merged2Item<I1, I2> {
    First(I1),
    Second(I2),
}

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

Variants

An item from the first stream

An item from the second stream

Auto Trait Implementations

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

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