pub enum ObserverRecoveryAggregateRestoreError {
DuplicateProgress {
conversation_id: ConversationId,
},
DuplicateArm {
conversation_id: ConversationId,
},
ArmWithoutProgress {
conversation_id: ConversationId,
},
ArmEpochMismatch {
conversation_id: ConversationId,
armed_epoch: ObserverEpoch,
current_observer_progress: DeliverySeq,
},
}Expand description
Restore-time validation failure for the owned observer-recovery aggregate.
Variants§
DuplicateProgress
One conversation appears twice in the durable progress rows.
Fields
§
conversation_id: ConversationIdDuplicated conversation.
DuplicateArm
One conversation appears twice in the durable arm rows.
Fields
§
conversation_id: ConversationIdDuplicated conversation.
ArmWithoutProgress
A durable arm names a conversation with no durable progress row.
Fields
§
conversation_id: ConversationIdConversation named by the orphaned arm.
ArmEpochMismatch
A durable arm’s epoch differs from its conversation’s progress.
An installed arm is always equal-epoch: it is installed at the exact read progress and fired (removed) by the same mutation that advances progress past it, so any durable disagreement is corruption.
Fields
§
conversation_id: ConversationIdConversation whose arm disagrees.
§
armed_epoch: ObserverEpochEpoch stored with the arm.
§
current_observer_progress: DeliverySeqDurable hard observer progress.
Trait Implementations§
Source§impl Clone for ObserverRecoveryAggregateRestoreError
impl Clone for ObserverRecoveryAggregateRestoreError
Source§fn clone(&self) -> ObserverRecoveryAggregateRestoreError
fn clone(&self) -> ObserverRecoveryAggregateRestoreError
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 ObserverRecoveryAggregateRestoreError
impl Eq for ObserverRecoveryAggregateRestoreError
impl StructuralPartialEq for ObserverRecoveryAggregateRestoreError
Auto Trait Implementations§
impl Freeze for ObserverRecoveryAggregateRestoreError
impl RefUnwindSafe for ObserverRecoveryAggregateRestoreError
impl Send for ObserverRecoveryAggregateRestoreError
impl Sync for ObserverRecoveryAggregateRestoreError
impl Unpin for ObserverRecoveryAggregateRestoreError
impl UnsafeUnpin for ObserverRecoveryAggregateRestoreError
impl UnwindSafe for ObserverRecoveryAggregateRestoreError
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