pub enum Either4<A, B, C, D> {
First(A),
Second(B),
Third(C),
Fourth(D),
}Expand description
Result for select4.
Variants§
First(A)
First future finished first.
Second(B)
Second future finished first.
Third(C)
Third future finished first.
Fourth(D)
Fourth future finished first.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A, B, C, D> Freeze for Either4<A, B, C, D>
impl<A, B, C, D> RefUnwindSafe for Either4<A, B, C, D>
impl<A, B, C, D> Send for Either4<A, B, C, D>
impl<A, B, C, D> Sync for Either4<A, B, C, D>
impl<A, B, C, D> Unpin for Either4<A, B, C, D>
impl<A, B, C, D> UnwindSafe for Either4<A, B, C, D>
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