pub enum Transaction<R, E> {
Idle,
Committed {
receipt: R,
after: After,
},
Pending {
receipt: R,
},
Rejected(E),
Violation(Violation),
}Expand description
Protocol-neutral result of one machine transaction.
Variants§
Auto Trait Implementations§
impl<R, E> Forget for Transaction<R, E>
impl<R, E> Freeze for Transaction<R, E>
impl<R, E> RefUnwindSafe for Transaction<R, E>where
R: RefUnwindSafe,
E: RefUnwindSafe,
impl<R, E> Send for Transaction<R, E>
impl<R, E> Sync for Transaction<R, E>
impl<R, E> Unpin for Transaction<R, E>
impl<R, E> UnsafeUnpin for Transaction<R, E>where
R: UnsafeUnpin,
E: UnsafeUnpin,
impl<R, E> UnwindSafe for Transaction<R, E>where
R: UnwindSafe,
E: 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