pub enum ObserverProgressRetireDecision {
Refuse {
aggregate: ObserverRecoveryAggregate,
error: ObserverProgressRetireError,
},
Commit(ObserverProgressRetireTransaction),
}Expand description
Total transactional retirement decision against the owned aggregate.
Variants§
Refuse
The retirement was refused; the aggregate is unchanged.
Fields
§
aggregate: ObserverRecoveryAggregateUnchanged aggregate returned to its owner.
§
error: ObserverProgressRetireErrorExact refusal.
Commit(ObserverProgressRetireTransaction)
The retirement validated; the progress row goes when it commits.
Trait Implementations§
impl Eq for ObserverProgressRetireDecision
impl StructuralPartialEq for ObserverProgressRetireDecision
Auto Trait Implementations§
impl Freeze for ObserverProgressRetireDecision
impl RefUnwindSafe for ObserverProgressRetireDecision
impl Send for ObserverProgressRetireDecision
impl Sync for ObserverProgressRetireDecision
impl Unpin for ObserverProgressRetireDecision
impl UnsafeUnpin for ObserverProgressRetireDecision
impl UnwindSafe for ObserverProgressRetireDecision
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