pub struct PendingDetachTransition<EF, V> { /* private fields */ }Expand description
Atomic durable result of accepting an observer-blocked detach.
Implementations§
Source§impl<EF, V> PendingDetachTransition<EF, V>
impl<EF, V> PendingDetachTransition<EF, V>
Sourcepub const fn member(&self) -> &LiveMember<EF>
pub const fn member(&self) -> &LiveMember<EF>
Borrows live membership retained unchanged until the terminal drains.
Sourcepub const fn binding_state(&self) -> BindingState
pub const fn binding_state(&self) -> BindingState
Returns the cause-partitioned pending-finalization binding slot.
Sourcepub const fn cell(&self) -> &PendingDetach<V>
pub const fn cell(&self) -> &PendingDetach<V>
Borrows the exact token-bearing pending detach replay cell.
Sourcepub const fn outcome(&self) -> &ObserverBackpressure
pub const fn outcome(&self) -> &ObserverBackpressure
Borrows the exact initial observer-backpressure response.
Sourcepub fn into_parts(
self,
) -> (LiveMember<EF>, BindingState, PendingDetach<V>, ObserverBackpressure)
pub fn into_parts( self, ) -> (LiveMember<EF>, BindingState, PendingDetach<V>, ObserverBackpressure)
Consumes the atomic result into its persistence and response values.
Trait Implementations§
Source§impl<EF: Clone, V: Clone> Clone for PendingDetachTransition<EF, V>
impl<EF: Clone, V: Clone> Clone for PendingDetachTransition<EF, V>
Source§fn clone(&self) -> PendingDetachTransition<EF, V>
fn clone(&self) -> PendingDetachTransition<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 PendingDetachTransition<EF, V>
impl<EF: PartialEq, V: PartialEq> StructuralPartialEq for PendingDetachTransition<EF, V>
Auto Trait Implementations§
impl<EF, V> Freeze for PendingDetachTransition<EF, V>
impl<EF, V> RefUnwindSafe for PendingDetachTransition<EF, V>where
V: RefUnwindSafe,
EF: RefUnwindSafe,
impl<EF, V> Send for PendingDetachTransition<EF, V>
impl<EF, V> Sync for PendingDetachTransition<EF, V>
impl<EF, V> Unpin for PendingDetachTransition<EF, V>
impl<EF, V> UnsafeUnpin for PendingDetachTransition<EF, V>where
V: UnsafeUnpin,
EF: UnsafeUnpin,
impl<EF, V> UnwindSafe for PendingDetachTransition<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