pub struct DetachedMarkerRelease { /* private fields */ }Expand description
Leave-only undelivered-marker release witness.
This state is produced only when exact binding fate consumes a marker that
has not reached CursorProgressMarker.
Implementations§
Source§impl DetachedMarkerRelease
impl DetachedMarkerRelease
Sourcepub const fn participant_id(self) -> ParticipantId
pub const fn participant_id(self) -> ParticipantId
Returns the detached participant.
Sourcepub const fn marker_delivery_seq(self) -> DeliverySeq
pub const fn marker_delivery_seq(self) -> DeliverySeq
Returns the undelivered marker.
Sourcepub const fn last_dead_binding_epoch(self) -> BindingEpoch
pub const fn last_dead_binding_epoch(self) -> BindingEpoch
Returns the dead binding epoch.
Source§impl DetachedMarkerRelease
impl DetachedMarkerRelease
Sourcepub const fn ordinary_attach_refusal(self) -> DetachedAttachRefusal
pub const fn ordinary_attach_refusal(self) -> DetachedAttachRefusal
Ordinary attach cannot cross this Leave-only edge.
Sourcepub const fn marker_attach_refusal(
self,
presented_marker: DeliverySeq,
) -> DetachedAttachRefusal
pub const fn marker_attach_refusal( self, presented_marker: DeliverySeq, ) -> DetachedAttachRefusal
The exact undelivered marker selects MarkerNotDelivered; another marker
selects MarkerMismatch without fabricating an expected delivery fact.
Trait Implementations§
Source§impl Clone for DetachedMarkerRelease
impl Clone for DetachedMarkerRelease
Source§fn clone(&self) -> DetachedMarkerRelease
fn clone(&self) -> DetachedMarkerRelease
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 DetachedMarkerRelease
Source§impl Debug for DetachedMarkerRelease
impl Debug for DetachedMarkerRelease
impl Eq for DetachedMarkerRelease
Source§impl LeaveOnlyEdge for DetachedMarkerRelease
impl LeaveOnlyEdge for DetachedMarkerRelease
Source§fn participant_id(self) -> ParticipantId
fn participant_id(self) -> ParticipantId
Returns the exact owner of this Leave-only edge.
Source§fn validate_leave_claim(
&self,
participant_id: ParticipantId,
actual_charge: ResourceVector,
remaining_k: ResourceVector,
exit_claims: u64,
) -> Option<KClaimBackedDetachedLeave>
fn validate_leave_claim( &self, participant_id: ParticipantId, actual_charge: ResourceVector, remaining_k: ResourceVector, exit_claims: u64, ) -> Option<KClaimBackedDetachedLeave>
Validates participant, exact target, actual charge, remaining K, and the
available exit claim before creating private Leave authority.
Source§fn leave(
self,
debt: ClosureDebt,
event: Event,
evidence: KClaimBackedDetachedLeave,
successor: DebtCompletion,
) -> Result<ClosureState, ClosureState>
fn leave( self, debt: ClosureDebt, event: Event, evidence: KClaimBackedDetachedLeave, successor: DebtCompletion, ) -> Result<ClosureState, ClosureState>
Sole successful owner transition: exact-current K-backed detached Leave. Read more
Source§fn repeat_fate(self, event: Event) -> Result<Self, Self>
fn repeat_fate(self, event: Event) -> Result<Self, Self>
Repeat exact fate is an event-consuming no-op. Read more
Applies an unrelated participant event, preserving this edge while debt
remains or clearing it with debt. Read more
Supersession is stale and preserves the exact edge.
Source§fn binding_required_refusal(self) -> DetachedAttachRefusal
fn binding_required_refusal(self) -> DetachedAttachRefusal
Normal/marker ack and ordinary admission have no binding authority.
Source§impl PartialEq for DetachedMarkerRelease
impl PartialEq for DetachedMarkerRelease
impl StructuralPartialEq for DetachedMarkerRelease
Auto Trait Implementations§
impl Freeze for DetachedMarkerRelease
impl RefUnwindSafe for DetachedMarkerRelease
impl Send for DetachedMarkerRelease
impl Sync for DetachedMarkerRelease
impl Unpin for DetachedMarkerRelease
impl UnsafeUnpin for DetachedMarkerRelease
impl UnwindSafe for DetachedMarkerRelease
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