pub enum Either2<L, R> {
Left(L),
Right(R),
}Expand description
An output of select2.
Variants§
Trait Implementations§
impl<L: Eq, R: Eq> Eq for Either2<L, R>
impl<L: PartialEq, R: PartialEq> StructuralPartialEq for Either2<L, R>
Auto Trait Implementations§
impl<L, R> Forget for Either2<L, R>
impl<L, R> Freeze for Either2<L, R>
impl<L, R> Move for Either2<L, R>
impl<L, R> RefUnwindSafe for Either2<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for Either2<L, R>
impl<L, R> Sync for Either2<L, R>
impl<L, R> Unpin for Either2<L, R>
impl<L, R> UnsafeUnpin for Either2<L, R>where
L: UnsafeUnpin,
R: UnsafeUnpin,
impl<L, R> UnwindSafe for Either2<L, R>where
L: UnwindSafe,
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more