Enum embassy_futures::select::Either3
source · pub enum Either3<A, B, C> {
First(A),
Second(B),
Third(C),
}
Variants§
First(A)
第一个future先完成
First future finished first.
Second(B)
第二个future先完成
Second future finished first.
Third(C)
第三个future先完成
Third future finished first.
Trait Implementations§
Auto Trait Implementations§
impl<A, B, C> RefUnwindSafe for Either3<A, B, C>where A: RefUnwindSafe, B: RefUnwindSafe, C: RefUnwindSafe,
impl<A, B, C> Send for Either3<A, B, C>where A: Send, B: Send, C: Send,
impl<A, B, C> Sync for Either3<A, B, C>where A: Sync, B: Sync, C: Sync,
impl<A, B, C> Unpin for Either3<A, B, C>where A: Unpin, B: Unpin, C: Unpin,
impl<A, B, C> UnwindSafe for Either3<A, B, C>where A: UnwindSafe, B: UnwindSafe, C: UnwindSafe,
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