pub enum ConversationReplayError {
ConversationMismatch {
expected: ConversationId,
actual: ConversationId,
},
OrdinalMismatch {
expected: u64,
actual: u64,
},
GenesisAlreadyValidated,
GenesisNotValidated,
EventOrdinalExhausted {
ordinal: u64,
},
}Expand description
Semantic durable-replay failure for a structurally decoded event.
Variants§
ConversationMismatch
Event belongs to another conversation stream.
Fields
§
expected: ConversationIdConversation required by the aggregate.
§
actual: ConversationIdConversation carried by the event.
OrdinalMismatch
Event is not the exact next contiguous ordinal.
Fields
GenesisAlreadyValidated
The one-shot genesis validation already committed.
GenesisNotValidated
A lifecycle operation event preceded the genesis-validation event.
EventOrdinalExhausted
No later event ordinal is representable.
Trait Implementations§
Source§impl Clone for ConversationReplayError
impl Clone for ConversationReplayError
Source§fn clone(&self) -> ConversationReplayError
fn clone(&self) -> ConversationReplayError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConversationReplayError
Source§impl Debug for ConversationReplayError
impl Debug for ConversationReplayError
impl Eq for ConversationReplayError
Source§impl PartialEq for ConversationReplayError
impl PartialEq for ConversationReplayError
impl StructuralPartialEq for ConversationReplayError
Auto Trait Implementations§
impl Freeze for ConversationReplayError
impl RefUnwindSafe for ConversationReplayError
impl Send for ConversationReplayError
impl Sync for ConversationReplayError
impl Unpin for ConversationReplayError
impl UnsafeUnpin for ConversationReplayError
impl UnwindSafe for ConversationReplayError
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