pub struct PendingReplayRequest<V> { /* private fields */ }Expand description
Verified command that forces pending replay through the progress/drain rule.
Implementations§
Source§impl<V: Copy + Eq> PendingReplayRequest<V>
impl<V: Copy + Eq> PendingReplayRequest<V>
Sourcepub fn apply<EF>(
self,
member: LiveMember<EF>,
decision: PendingDrainDecision,
) -> Result<PendingReplay<EF, V>, PendingReplayError>
pub fn apply<EF>( self, member: LiveMember<EF>, decision: PendingDrainDecision, ) -> Result<PendingReplay<EF, V>, PendingReplayError>
Applies the exact equality-or-greater observer-progress transition.
§Errors
Returns PendingReplayError when progress regresses, the caller skips
the required drain, claims a drain at equal progress, or supplies a
mismatched binding finalization.
Trait Implementations§
Source§impl<V: Clone> Clone for PendingReplayRequest<V>
impl<V: Clone> Clone for PendingReplayRequest<V>
Source§fn clone(&self) -> PendingReplayRequest<V>
fn clone(&self) -> PendingReplayRequest<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 moreSource§impl<V: Debug> Debug for PendingReplayRequest<V>
impl<V: Debug> Debug for PendingReplayRequest<V>
impl<V: Eq> Eq for PendingReplayRequest<V>
Source§impl<V: PartialEq> PartialEq for PendingReplayRequest<V>
impl<V: PartialEq> PartialEq for PendingReplayRequest<V>
impl<V: PartialEq> StructuralPartialEq for PendingReplayRequest<V>
Auto Trait Implementations§
impl<V> Freeze for PendingReplayRequest<V>where
V: Freeze,
impl<V> RefUnwindSafe for PendingReplayRequest<V>where
V: RefUnwindSafe,
impl<V> Send for PendingReplayRequest<V>where
V: Send,
impl<V> Sync for PendingReplayRequest<V>where
V: Sync,
impl<V> Unpin for PendingReplayRequest<V>where
V: Unpin,
impl<V> UnsafeUnpin for PendingReplayRequest<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for PendingReplayRequest<V>where
V: 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