pub struct CommandQuiescenceGuard { /* private fields */ }Expand description
Fresh exclusive quiescence bound to Backup’s retained original journal record.
Host owns descriptor exclusion and explicit unlock on drop. This guard cannot spawn; terminal settlement and reference-release admission remain separate.
Implementations§
Source§impl CommandQuiescenceGuard
impl CommandQuiescenceGuard
Sourcepub fn acquire(
expected: &CommandCustodyRecord,
) -> Result<Self, CommandLifetimeLockError>
pub fn acquire( expected: &CommandCustodyRecord, ) -> Result<Self, CommandLifetimeLockError>
Admit the exact retained existing sidecar without creating it.
§Errors
Rejects active holders, replaced/missing/unsafe sidecars and I/O failures.
Sourcepub fn record(&self) -> &CommandCustodyRecord
pub fn record(&self) -> &CommandCustodyRecord
Read the exact retained evidence freshly admitted by this guard.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandQuiescenceGuard
impl RefUnwindSafe for CommandQuiescenceGuard
impl Send for CommandQuiescenceGuard
impl Sync for CommandQuiescenceGuard
impl Unpin for CommandQuiescenceGuard
impl UnsafeUnpin for CommandQuiescenceGuard
impl UnwindSafe for CommandQuiescenceGuard
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