pub struct CommittedDetachTransition<EF, V> { /* private fields */ }Expand description
Atomic durable result of an immediately committed or drained detach.
Implementations§
Source§impl<EF, V> CommittedDetachTransition<EF, V>
impl<EF, V> CommittedDetachTransition<EF, V>
Sourcepub const fn member(&self) -> &LiveMember<EF>
pub const fn member(&self) -> &LiveMember<EF>
Borrows live membership with the exact binding terminal persisted.
Sourcepub const fn terminal(&self) -> CommittedDetachedTerminal
pub const fn terminal(&self) -> CommittedDetachedTerminal
Returns the exact committed Detached(CleanDeregister) terminal.
Sourcepub const fn binding_state(&self) -> BindingState
pub const fn binding_state(&self) -> BindingState
Returns the detached post-transition binding slot.
Sourcepub const fn cell(&self) -> &CommittedDetach<V>
pub const fn cell(&self) -> &CommittedDetach<V>
Borrows the stable committed detach replay cell.
Sourcepub const fn outcome(&self) -> &DetachCommitted
pub const fn outcome(&self) -> &DetachCommitted
Borrows the exact canonical committed-detach response.
Sourcepub const fn observer_progress_projection(&self) -> ObserverProgressProjection
pub const fn observer_progress_projection(&self) -> ObserverProgressProjection
Projects this exact committed terminal into hard observer progress.
Sourcepub fn into_parts(
self,
) -> (LiveMember<EF>, CommittedDetachedTerminal, BindingState, CommittedDetach<V>, DetachCommitted)
pub fn into_parts( self, ) -> (LiveMember<EF>, CommittedDetachedTerminal, BindingState, CommittedDetach<V>, DetachCommitted)
Consumes the atomic result into its persistence and response values.
Trait Implementations§
Source§impl<EF: Clone, V: Clone> Clone for CommittedDetachTransition<EF, V>
impl<EF: Clone, V: Clone> Clone for CommittedDetachTransition<EF, V>
Source§fn clone(&self) -> CommittedDetachTransition<EF, V>
fn clone(&self) -> CommittedDetachTransition<EF, V>
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<EF: Eq, V: Eq> Eq for CommittedDetachTransition<EF, V>
impl<EF: PartialEq, V: PartialEq> StructuralPartialEq for CommittedDetachTransition<EF, V>
Auto Trait Implementations§
impl<EF, V> Freeze for CommittedDetachTransition<EF, V>
impl<EF, V> RefUnwindSafe for CommittedDetachTransition<EF, V>where
V: RefUnwindSafe,
EF: RefUnwindSafe,
impl<EF, V> Send for CommittedDetachTransition<EF, V>
impl<EF, V> Sync for CommittedDetachTransition<EF, V>
impl<EF, V> Unpin for CommittedDetachTransition<EF, V>
impl<EF, V> UnsafeUnpin for CommittedDetachTransition<EF, V>where
V: UnsafeUnpin,
EF: UnsafeUnpin,
impl<EF, V> UnwindSafe for CommittedDetachTransition<EF, V>where
V: UnwindSafe,
EF: UnwindSafe,
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