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.
Trait Implementations§
Auto Trait Implementations§
impl<A, B, C, D> Freeze for Either4<A, B, C, D>where
A: Freeze,
B: Freeze,
C: Freeze,
D: Freeze,
impl<A, B, C, D> RefUnwindSafe for Either4<A, B, C, D>where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
impl<A, B, C, D> Send for Either4<A, B, C, D>where
A: Send,
B: Send,
C: Send,
D: Send,
impl<A, B, C, D> Sync for Either4<A, B, C, D>where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
impl<A, B, C, D> Unpin for Either4<A, B, C, D>where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
impl<A, B, C, D> UnwindSafe for Either4<A, B, C, D>where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)