pub struct CommandQuiescenceGuard { /* private fields */ }Expand description
Fresh exclusive local quiescence for retained exact custody evidence.
This guard cannot spawn commands. It excludes cooperating holders of the same sidecar until dropped. Drop explicitly releases this non-spawning exclusion, even if an unrelated fork temporarily retained a descriptor copy. Terminal completion still requires its own journal proof.
Implementations§
Source§impl CommandQuiescenceGuard
impl CommandQuiescenceGuard
Sourcepub fn acquire(
expected: &CommandCustodyRecord,
) -> Result<Self, CommandLifetimeLockError>
pub fn acquire( expected: &CommandCustodyRecord, ) -> Result<Self, CommandLifetimeLockError>
Observe an existing sidecar and hold exact local custody without creating it.
§Errors
Rejects active holders, changed/missing/unsafe identities and filesystem failures.
Sourcepub fn record(&self) -> &CommandCustodyRecord
pub fn record(&self) -> &CommandCustodyRecord
Return the exact retained evidence freshly admitted by this guard.
Trait Implementations§
Source§impl Debug for CommandQuiescenceGuard
impl Debug for CommandQuiescenceGuard
Source§impl Drop for CommandQuiescenceGuard
impl Drop for CommandQuiescenceGuard
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