pub enum ChoiceResult<T1, C1, T2, C2> {
One(T1, C1),
Two(T2, C2),
}Expand description
This value is received when the choice is resolved.
Variants§
Auto Trait Implementations§
impl<T1, C1, T2, C2> Freeze for ChoiceResult<T1, C1, T2, C2>
impl<T1, C1, T2, C2> RefUnwindSafe for ChoiceResult<T1, C1, T2, C2>
impl<T1, C1, T2, C2> Send for ChoiceResult<T1, C1, T2, C2>
impl<T1, C1, T2, C2> Sync for ChoiceResult<T1, C1, T2, C2>
impl<T1, C1, T2, C2> Unpin for ChoiceResult<T1, C1, T2, C2>
impl<T1, C1, T2, C2> UnwindSafe for ChoiceResult<T1, C1, T2, C2>
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