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>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)