pub enum DispatchResult<'a, IA, IB, O, A, B> {
    Left {
        value: A,
        remaining: Coroutine<'a, IB, O, B>,
    },
    Right {
        value: B,
        remaining: Coroutine<'a, IA, O, A>,
    },
}
Expand description

Represents the result of running the left and right coroutines Returns whichever coroutine finished first

Variants

Left

Fields

value: A
remaining: Coroutine<'a, IB, O, B>

Right

Fields

value: B
remaining: Coroutine<'a, IA, O, A>

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.