Type Alias futures_util::future::try_select::EitherOk

source ·
type EitherOk<A, B> = Either<(<A as TryFuture>::Ok, B), (<B as TryFuture>::Ok, A)>;

Aliased Type§

enum EitherOk<A, B> {
    Left((<A as TryFuture>::Ok, B)),
    Right((<B as TryFuture>::Ok, A)),
}

Variants§

§

Left((<A as TryFuture>::Ok, B))

First branch of the type

§

Right((<B as TryFuture>::Ok, A))

Second branch of the type