pub struct LeaveCommit<EF, V, LF> { /* private fields */ }Expand description
One indivisible committed Leave state update.
The identity tombstone and the claim frontiers resulting from the prepared Leave transition are deliberately carried together and are not cloneable. A durable binding must persist both parts in the same transaction; exposing only the tombstone would discard the consumed and relayed frontier authority.
Implementations§
Source§impl<EF, V, LF> LeaveCommit<EF, V, LF>
impl<EF, V, LF> LeaveCommit<EF, V, LF>
Sourcepub const fn identity(&self) -> &IdentityState<EF, V, LF>
pub const fn identity(&self) -> &IdentityState<EF, V, LF>
Borrows the permanent identity result committed by Leave.
Sourcepub const fn frontiers(&self) -> &ClaimFrontiers
pub const fn frontiers(&self) -> &ClaimFrontiers
Borrows the exact claim frontiers committed with the identity result.
Sourcepub fn into_parts(self) -> (IdentityState<EF, V, LF>, ClaimFrontiers)
pub fn into_parts(self) -> (IdentityState<EF, V, LF>, ClaimFrontiers)
Consumes the atomic commit for one durable transaction.
Trait Implementations§
impl<EF: Eq, V: Eq, LF: Eq> Eq for LeaveCommit<EF, V, LF>
impl<EF: PartialEq, V: PartialEq, LF: PartialEq> StructuralPartialEq for LeaveCommit<EF, V, LF>
Auto Trait Implementations§
impl<EF, V, LF> Freeze for LeaveCommit<EF, V, LF>
impl<EF, V, LF> RefUnwindSafe for LeaveCommit<EF, V, LF>
impl<EF, V, LF> Send for LeaveCommit<EF, V, LF>
impl<EF, V, LF> Sync for LeaveCommit<EF, V, LF>
impl<EF, V, LF> Unpin for LeaveCommit<EF, V, LF>
impl<EF, V, LF> UnsafeUnpin for LeaveCommit<EF, V, LF>
impl<EF, V, LF> UnwindSafe for LeaveCommit<EF, V, LF>
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