pub enum ObsEither<A, B> {
Left(A),
Right(B),
}Variants§
Auto Trait Implementations§
impl<A, B> Freeze for ObsEither<A, B>
impl<A, B> RefUnwindSafe for ObsEither<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for ObsEither<A, B>
impl<A, B> Sync for ObsEither<A, B>
impl<A, B> Unpin for ObsEither<A, B>
impl<A, B> UnsafeUnpin for ObsEither<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for ObsEither<A, B>where
A: UnwindSafe,
B: 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