pub enum ConnectionOrdinalExhaustion {
MarkExhausted(ConnectionOrdinalExhaustionCommit),
AlreadyExhausted(ConnectionOrdinalExhaustionReplay),
}Expand description
Exact ordinal-exhaustion transition.
Variants§
MarkExhausted(ConnectionOrdinalExhaustionCommit)
A referenced u64::MAX candidate atomically sets the terminal bit.
AlreadyExhausted(ConnectionOrdinalExhaustionReplay)
The terminal bit was already durable, so the refusal changes no state.
Implementations§
Source§impl ConnectionOrdinalExhaustion
impl ConnectionOrdinalExhaustion
Sourcepub const fn outcome(&self) -> ConnectionIncarnationExhausted
pub const fn outcome(&self) -> ConnectionIncarnationExhausted
Returns the exact R-D1 ordinal exhaustion payload.
Sourcepub const fn resulting_header(&self) -> ConnectionIncarnationAllocatorRestore
pub const fn resulting_header(&self) -> ConnectionIncarnationAllocatorRestore
Returns the exact resulting fixed header for commit or unchanged replay.
Sourcepub const fn into_resulting(self) -> ConnectionIncarnationAllocator
pub const fn into_resulting(self) -> ConnectionIncarnationAllocator
Consumes the transition and returns its resulting allocator state.
Trait Implementations§
Source§impl Debug for ConnectionOrdinalExhaustion
impl Debug for ConnectionOrdinalExhaustion
impl Eq for ConnectionOrdinalExhaustion
impl StructuralPartialEq for ConnectionOrdinalExhaustion
Auto Trait Implementations§
impl Freeze for ConnectionOrdinalExhaustion
impl RefUnwindSafe for ConnectionOrdinalExhaustion
impl Send for ConnectionOrdinalExhaustion
impl Sync for ConnectionOrdinalExhaustion
impl Unpin for ConnectionOrdinalExhaustion
impl UnsafeUnpin for ConnectionOrdinalExhaustion
impl UnwindSafe for ConnectionOrdinalExhaustion
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