pub struct ReplicatedApplyGuard { /* private fields */ }Expand description
RAII guard that marks the current thread as “applying a replicated
frame” for the guard’s lifetime. The replica runner (T1.29(b))
enters this scope before each dispatch call so the apply doesn’t
re-push the frame into this shard’s own backlog.
Implementations§
Trait Implementations§
Source§impl Drop for ReplicatedApplyGuard
impl Drop for ReplicatedApplyGuard
Auto Trait Implementations§
impl Freeze for ReplicatedApplyGuard
impl RefUnwindSafe for ReplicatedApplyGuard
impl Send for ReplicatedApplyGuard
impl Sync for ReplicatedApplyGuard
impl Unpin for ReplicatedApplyGuard
impl UnsafeUnpin for ReplicatedApplyGuard
impl UnwindSafe for ReplicatedApplyGuard
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