pub enum MergedItem<I1, I2> {
    First(I1),
    Second(I2),
    Both(I1, I2),
}
👎Deprecated: functionality provided by select now
Expand description

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§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.