pub struct SpawnClaim { /* private fields */ }Expand description
The claim around one process spawn attempt, backed by an OS exclusive lock
on spawn.claim. The lock lives as long as the open file: the kernel
releases it when the owner dies (any signal), and there is no time-based
eviction of a live owner. The file is never unlinked, so every contender
always locks the same inode; Drop closes only this claim’s own handle.
Implementations§
Auto Trait Implementations§
impl Freeze for SpawnClaim
impl RefUnwindSafe for SpawnClaim
impl Send for SpawnClaim
impl Sync for SpawnClaim
impl Unpin for SpawnClaim
impl UnsafeUnpin for SpawnClaim
impl UnwindSafe for SpawnClaim
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