pub struct ConnectionIncarnationAllocation { /* private fields */ }Expand description
Successful connection-incarnation allocation and resulting durable state.
Implementations§
Source§impl ConnectionIncarnationAllocation
impl ConnectionIncarnationAllocation
Sourcepub const fn connection_incarnation(&self) -> ConnectionIncarnation
pub const fn connection_incarnation(&self) -> ConnectionIncarnation
Returns the unique pair to publish only with the resulting header commit.
Sourcepub const fn skipped_collisions(&self) -> usize
pub const fn skipped_collisions(&self) -> usize
Returns how many referenced candidates were skipped before publication.
Sourcepub const fn resulting_header(&self) -> ConnectionIncarnationAllocatorRestore
pub const fn resulting_header(&self) -> ConnectionIncarnationAllocatorRestore
Returns the exact resulting fixed header.
Sourcepub const fn into_resulting(self) -> ConnectionIncarnationAllocator
pub const fn into_resulting(self) -> ConnectionIncarnationAllocator
Consumes the commit and returns the resulting allocator state.
Trait Implementations§
impl Eq for ConnectionIncarnationAllocation
impl StructuralPartialEq for ConnectionIncarnationAllocation
Auto Trait Implementations§
impl Freeze for ConnectionIncarnationAllocation
impl RefUnwindSafe for ConnectionIncarnationAllocation
impl Send for ConnectionIncarnationAllocation
impl Sync for ConnectionIncarnationAllocation
impl Unpin for ConnectionIncarnationAllocation
impl UnsafeUnpin for ConnectionIncarnationAllocation
impl UnwindSafe for ConnectionIncarnationAllocation
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