pub enum Either3<A, B, C> {
First(A),
Second(B),
Third(C),
}Expand description
Result type for select3 - represents which of three futures completed first.
Variants§
First(A)
First future completed first
Second(B)
Second future completed first
Third(C)
Third future completed first
Implementations§
Trait Implementations§
impl<A: Eq, B: Eq, C: Eq> Eq for Either3<A, B, C>
impl<A, B, C> StructuralPartialEq for Either3<A, B, C>
Auto Trait Implementations§
impl<A, B, C> Freeze 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