pub enum Branch<L, R> {
Left(L),
Right(R),
}
Expand description
Indicate whether the left or right choice was chosen in an Offer
.
Variants§
Auto Trait Implementations§
impl<L, R> Freeze for Branch<L, R>
impl<L, R> RefUnwindSafe for Branch<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for Branch<L, R>
impl<L, R> Sync for Branch<L, R>
impl<L, R> Unpin for Branch<L, R>
impl<L, R> UnwindSafe for Branch<L, R>where
L: UnwindSafe,
R: 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