pub enum ConversationDecision {
Commit(ConversationCommit),
Refused(ConversationRefusal),
}Expand description
Protocol decision that either owns one pending durable commit or refuses it.
Variants§
Commit(ConversationCommit)
Append this event before consuming the commit into usable state.
Refused(ConversationRefusal)
No event was selected; the unchanged aggregate is recoverable.
Trait Implementations§
Source§impl Debug for ConversationDecision
impl Debug for ConversationDecision
impl Eq for ConversationDecision
Source§impl PartialEq for ConversationDecision
impl PartialEq for ConversationDecision
impl StructuralPartialEq for ConversationDecision
Auto Trait Implementations§
impl Freeze for ConversationDecision
impl RefUnwindSafe for ConversationDecision
impl Send for ConversationDecision
impl Sync for ConversationDecision
impl Unpin for ConversationDecision
impl UnsafeUnpin for ConversationDecision
impl UnwindSafe for ConversationDecision
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