pub enum PendingFinalization {
Detached(PendingDetachedFinalization),
Died(PendingDiedFinalization),
}Expand description
Binding authority ended, but its terminal record awaits durable append.
Both variants have private, transition-derived fields. Consequently a
Detached finalization cannot carry ConnectionLost, ProcessKilled,
ProtocolError, or UncleanServerRestart, and a Died finalization cannot
carry CleanDeregister, Superseded, or ServerShutdown.
Variants§
Detached(PendingDetachedFinalization)
A pending Detached record and its restricted cause.
Died(PendingDiedFinalization)
A pending Died record and its restricted cause.
Implementations§
Source§impl PendingFinalization
impl PendingFinalization
Sourcepub const fn participant_id(self) -> ParticipantId
pub const fn participant_id(self) -> ParticipantId
Returns the permanent participant identifier/index.
Sourcepub const fn conversation_id(self) -> ConversationId
pub const fn conversation_id(self) -> ConversationId
Returns the owning conversation.
Sourcepub const fn binding_epoch(self) -> BindingEpoch
pub const fn binding_epoch(self) -> BindingEpoch
Returns the exact ended binding epoch.
Sourcepub const fn admission_order(self) -> AdmissionOrder
pub const fn admission_order(self) -> AdmissionOrder
Returns the immutable binding-terminal admission position.
Sourcepub const fn kind(self) -> BindingTerminalKind
pub const fn kind(self) -> BindingTerminalKind
Returns the record class derived from the cause-partitioned variant.
Sourcepub const fn close_cause(self) -> CloseCause
pub const fn close_cause(self) -> CloseCause
Returns the shared seven-class close-cause view.
Sourcepub const fn detached_cause(self) -> Option<DetachedCause>
pub const fn detached_cause(self) -> Option<DetachedCause>
Returns the restricted Detached cause, or None for a Died state.
Sourcepub const fn died_cause(self) -> Option<DiedCause>
pub const fn died_cause(self) -> Option<DiedCause>
Returns the restricted Died cause, or None for a Detached state.
Sourcepub const fn commit(self, delivery_seq: DeliverySeq) -> CommittedBindingTerminal
pub const fn commit(self, delivery_seq: DeliverySeq) -> CommittedBindingTerminal
Commits the exact pending terminal without changing cause, epoch, or order.
Trait Implementations§
Source§impl Clone for PendingFinalization
impl Clone for PendingFinalization
Source§fn clone(&self) -> PendingFinalization
fn clone(&self) -> PendingFinalization
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more