pub enum Branch<A, B> {
First(A),
Second(B),
}Expand description
A first-class two-way branching transition result.
This lets a transition expose two concrete machine targets while keeping the branch alternatives visible to Statum introspection.
Variants§
Trait Implementations§
impl<A: Eq, B: Eq> Eq for Branch<A, B>
impl<A, B> StructuralPartialEq for Branch<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Branch<A, B>
impl<A, B> RefUnwindSafe for Branch<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Branch<A, B>
impl<A, B> Sync for Branch<A, B>
impl<A, B> Unpin for Branch<A, B>
impl<A, B> UnsafeUnpin for Branch<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for Branch<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