pub enum NonzeroParticipantAckInvariantError {
Conversation {
member: ConversationId,
episode: ConversationId,
},
ParticipantMissing {
participant_id: ParticipantId,
},
Generation {
member: Generation,
episode: Generation,
},
Cursor {
member: DeliverySeq,
episode: DeliverySeq,
},
BindingEpoch {
active: BindingEpoch,
episode: BindingEpoch,
},
EpisodeTransition(CumulativeAckAuthorizationError),
}Expand description
Durable aggregate mismatch found after common request authority succeeded.
Variants§
Conversation
Episode belongs to another conversation.
Fields
§
member: ConversationIdConversation owned by the selected member.
§
episode: ConversationIdConversation owned by the episode.
ParticipantMissing
Episode has no entry for the selected permanent participant index.
Fields
§
participant_id: ParticipantIdSelected participant identifier/index.
Generation
Episode entry carries another credential generation.
Fields
§
member: GenerationCurrent member generation.
§
episode: GenerationGeneration carried by the episode binding epoch.
Cursor
Episode entry cursor differs from durable membership.
BindingEpoch
Episode entry carries another active binding epoch.
Fields
§
active: BindingEpochExact binding authorized by common lookup.
§
episode: BindingEpochBinding epoch carried by the episode entry.
EpisodeTransition(CumulativeAckAuthorizationError)
Existing episode transition rejected an otherwise-validated aggregate.
Trait Implementations§
Source§impl Clone for NonzeroParticipantAckInvariantError
impl Clone for NonzeroParticipantAckInvariantError
Source§fn clone(&self) -> NonzeroParticipantAckInvariantError
fn clone(&self) -> NonzeroParticipantAckInvariantError
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 NonzeroParticipantAckInvariantError
impl Eq for NonzeroParticipantAckInvariantError
impl StructuralPartialEq for NonzeroParticipantAckInvariantError
Auto Trait Implementations§
impl Freeze for NonzeroParticipantAckInvariantError
impl RefUnwindSafe for NonzeroParticipantAckInvariantError
impl Send for NonzeroParticipantAckInvariantError
impl Sync for NonzeroParticipantAckInvariantError
impl Unpin for NonzeroParticipantAckInvariantError
impl UnsafeUnpin for NonzeroParticipantAckInvariantError
impl UnwindSafe for NonzeroParticipantAckInvariantError
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