pub struct ActionResult {
pub committed: bool,
pub invariant_error: Option<String>,
}Expand description
The result of dispatching an action.
Fields§
§committed: boolWhether the action committed (true) or rolled back (false).
invariant_error: Option<String>Invariant violation message, if rollback occurred.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActionResult
impl RefUnwindSafe for ActionResult
impl Send for ActionResult
impl Sync for ActionResult
impl Unpin for ActionResult
impl UnwindSafe for ActionResult
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