pub struct AttachCommit<F, V> {
pub member: LiveMember<F>,
pub binding_state: BindingState,
pub detach_cell: DetachCell<V>,
pub attached: AttachedLifecycleRecord,
pub outcome: AttachBound,
pub transition: AttachTransition,
/* private fields */
}Expand description
Complete atomic result of a credential attach.
Fields§
§member: LiveMember<F>Rotated membership with preserved or replaced terminal history.
binding_state: BindingStateExact new authoritative binding.
detach_cell: DetachCell<V>Fix 1 detach cell after terminalization/preservation.
attached: AttachedLifecycleRecordExact committed phase-2 Attached lifecycle record.
outcome: AttachBoundExact wire success payload.
transition: AttachTransitionTyped old-binding or fenced-recovery terminal effect.
Implementations§
Source§impl<F, V> AttachCommit<F, V>
impl<F, V> AttachCommit<F, V>
Sourcepub fn observer_progress_projection(&self) -> Option<ObserverProgressProjection>
pub fn observer_progress_projection(&self) -> Option<ObserverProgressProjection>
Projects the binding-ending terminal committed by this attach, if any.
Sourcepub fn ordinary_cursor_progressed(self, event: Event) -> Result<Self, Box<Self>>
pub fn ordinary_cursor_progressed(self, event: Event) -> Result<Self, Box<Self>>
Consumes one exact normal-ack event into this ordinary attach’s cursor authority.
Fenced recovery has no ordinary authority and therefore returns the unchanged commit. The raw authority never crosses the public boundary.
§Errors
Returns the unchanged commit for fenced recovery or when the event names another participant, epoch, previous cursor, or event class.
Sourcepub fn ordinary_binding_fate(
self,
terminal: CommittedDiedTerminal,
resulting_floor: DeliverySeq,
) -> Result<OrdinaryBindingFate, Box<Self>>
pub fn ordinary_binding_fate( self, terminal: CommittedDiedTerminal, resulting_floor: DeliverySeq, ) -> Result<OrdinaryBindingFate, Box<Self>>
Consumes this ordinary attach and its exact durable death into cursor-release fate.
A fenced attach cannot enter this path because it carries no ordinary
binding authority; recovered epochs still require the distinct
FencedAttachCommit provenance transition.
§Errors
Returns the unchanged commit for fenced recovery or unless the terminal names this exact ordinary participant, conversation, and binding epoch.
Trait Implementations§
Source§impl<F: Clone, V: Clone> Clone for AttachCommit<F, V>
impl<F: Clone, V: Clone> Clone for AttachCommit<F, V>
Source§fn clone(&self) -> AttachCommit<F, V>
fn clone(&self) -> AttachCommit<F, V>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more