pub enum Either3<A, B, C> {
First(A),
Second(B),
Third(C),
}
Expand description
Result for select3
.
Variants§
First(A)
First future finished first.
Second(B)
Second future finished first.
Third(C)
Third future finished first.
Trait Implementations§
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> 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
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
)