pub enum ObserverRecoveryTransactionDecision {
Respond {
aggregate: ObserverRecoveryAggregate,
response: ObserverRecoveryResponse,
},
Commit(ObserverRecoveryTransaction),
}Expand description
Total transactional observer-recovery decision against the owned aggregate.
Variants§
Respond
The whole batch was refused; the aggregate is unchanged.
Fields
§
aggregate: ObserverRecoveryAggregateUnchanged aggregate returned to its owner.
§
response: ObserverRecoveryResponseExact refusal response.
Commit(ObserverRecoveryTransaction)
Every entry validated; the arm plan may commit atomically.
Trait Implementations§
impl Eq for ObserverRecoveryTransactionDecision
impl StructuralPartialEq for ObserverRecoveryTransactionDecision
Auto Trait Implementations§
impl Freeze for ObserverRecoveryTransactionDecision
impl RefUnwindSafe for ObserverRecoveryTransactionDecision
impl Send for ObserverRecoveryTransactionDecision
impl Sync for ObserverRecoveryTransactionDecision
impl Unpin for ObserverRecoveryTransactionDecision
impl UnsafeUnpin for ObserverRecoveryTransactionDecision
impl UnwindSafe for ObserverRecoveryTransactionDecision
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