pub enum AggregateOperationDecision<T> {
Commit(AggregateOperationCommit<T>),
Refused(AggregateOperationRefusal<T>),
}Expand description
Total aggregate decision for one lifecycle operation.
Variants§
Commit(AggregateOperationCommit<T>)
Append the selected event, then consume the barrier into usable state.
Refused(AggregateOperationRefusal<T>)
The shell refused the event; shell and operation are both recoverable.
Trait Implementations§
Source§impl<T: Debug> Debug for AggregateOperationDecision<T>
impl<T: Debug> Debug for AggregateOperationDecision<T>
impl<T: Eq> Eq for AggregateOperationDecision<T>
Source§impl<T: PartialEq> PartialEq for AggregateOperationDecision<T>
impl<T: PartialEq> PartialEq for AggregateOperationDecision<T>
impl<T: PartialEq> StructuralPartialEq for AggregateOperationDecision<T>
Auto Trait Implementations§
impl<T> Freeze for AggregateOperationDecision<T>where
T: Freeze,
impl<T> RefUnwindSafe for AggregateOperationDecision<T>where
T: RefUnwindSafe,
impl<T> Send for AggregateOperationDecision<T>where
T: Send,
impl<T> Sync for AggregateOperationDecision<T>where
T: Sync,
impl<T> Unpin for AggregateOperationDecision<T>where
T: Unpin,
impl<T> UnsafeUnpin for AggregateOperationDecision<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AggregateOperationDecision<T>where
T: 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