Module std::either

A type that represents one of two alternatives

Enums

Either

Either is a type that represents one of two alternatives

Traits

AsEither

A generic trait for converting a value to a Either

IntoEither

A generic trait for converting a value to a Either

ToEither

A generic trait for converting a value to a Either

Functions

lefts

Extracts all the left values

partition

Extracts from a vector of either all the left values and right values

rights

Extracts all the right values

Type Definitions

Lefts

An iterator yielding the Left values of its source

Rights

An iterator yielding the Right values of its source