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

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

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

Variants

First(I1)

An item from the first stream

Second(I2)

An item from the second stream

Both(I1, I2)

Items from both streams