pub struct DetachedCursorRelease { /* private fields */ }Expand description
Leave-only detached-cursor release witness.
This state is produced only when exact binding fate consumes a continuous cursor witness with no marker.
Implementations§
Source§impl DetachedCursorRelease
impl DetachedCursorRelease
Sourcepub const fn participant_id(self) -> ParticipantId
pub const fn participant_id(self) -> ParticipantId
Returns the detached participant.
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 DetachedCursorRelease
impl DetachedCursorRelease
Sourcepub const fn ordinary_attach_refusal(self) -> DetachedAttachRefusal
pub const fn ordinary_attach_refusal(self) -> DetachedAttachRefusal
Attach without a marker cannot cross this Leave-only edge.
Sourcepub const fn marker_attach_refusal(self) -> DetachedAttachRefusal
pub const fn marker_attach_refusal(self) -> DetachedAttachRefusal
Presenting any marker mismatches a cursor-only edge.
Trait Implementations§
Source§impl Clone for DetachedCursorRelease
impl Clone for DetachedCursorRelease
Source§fn clone(&self) -> DetachedCursorRelease
fn clone(&self) -> DetachedCursorRelease
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 DetachedCursorRelease
Source§impl Debug for DetachedCursorRelease
impl Debug for DetachedCursorRelease
impl Eq for DetachedCursorRelease
Source§impl LeaveOnlyEdge for DetachedCursorRelease
impl LeaveOnlyEdge for DetachedCursorRelease
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 DetachedCursorRelease
impl PartialEq for DetachedCursorRelease
impl StructuralPartialEq for DetachedCursorRelease
Auto Trait Implementations§
impl Freeze for DetachedCursorRelease
impl RefUnwindSafe for DetachedCursorRelease
impl Send for DetachedCursorRelease
impl Sync for DetachedCursorRelease
impl Unpin for DetachedCursorRelease
impl UnsafeUnpin for DetachedCursorRelease
impl UnwindSafe for DetachedCursorRelease
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