pub enum Either3<A, B, C> {
First(A),
Second(B),
Third(C),
}Expand description
An output of select3.
Variants§
First(A)
The first future has completed first.
Second(B)
The second future has completed first.
Third(C)
The third future has completed first.
Trait Implementations§
impl<A: Eq, B: Eq, C: Eq> Eq for Either3<A, B, C>
impl<A: PartialEq, B: PartialEq, C: PartialEq> StructuralPartialEq for Either3<A, B, C>
Auto Trait Implementations§
impl<A, B, C> Forget for Either3<A, B, C>
impl<A, B, C> Freeze for Either3<A, B, C>
impl<A, B, C> Move for Either3<A, B, C>
impl<A, B, C> RefUnwindSafe for Either3<A, B, C>
impl<A, B, C> Send for Either3<A, B, C>
impl<A, B, C> Sync for Either3<A, B, C>
impl<A, B, C> Unpin for Either3<A, B, C>
impl<A, B, C> UnsafeUnpin for Either3<A, B, C>
impl<A, B, C> UnwindSafe for Either3<A, B, C>
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