pub enum Either3<A, B, C> {
First(A),
Second(B),
Third(C),
}Expand description
Variants§
First(A)
The first future completed.
Second(B)
The second future completed.
Third(C)
The third future completed.
Implementations§
Source§impl<T> Either3<T, T, T>
impl<T> Either3<T, T, T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Extract the value regardless of which branch completed.
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