Module either::into_either
source · Expand description
The trait IntoEither
provides methods for converting a type Self
, whose
size is constant and known at compile-time, into an Either
variant.
Traits§
- Provides methods for converting a type
Self
into either aLeft
orRight
variant ofEither<Self, Self>
.