Enum ferrite_session::internal::public::either::EitherChoice
source · [−]pub enum EitherChoice<A, B> {
Left(A),
Right(B),
}
Variants
Left(A)
Right(B)
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for EitherChoice<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for EitherChoice<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for EitherChoice<A, B> where
A: Sync,
B: Sync,
impl<A, B> Unpin for EitherChoice<A, B> where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for EitherChoice<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more