pub struct WslRecoveryAllocationLock { /* private fields */ }Expand description
Adds the Windows/WSL recovery fence to an ordinary allocation lock.
A Windows watchdog writes its drain request before attempting the same atomic directory claim. Therefore either this guard owns the directory and finishes the one launch already in progress, or Windows owns it and no new launch can pass. A malformed configured fence fails closed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WslRecoveryAllocationLock
impl !UnwindSafe for WslRecoveryAllocationLock
impl Freeze for WslRecoveryAllocationLock
impl Send for WslRecoveryAllocationLock
impl Sync for WslRecoveryAllocationLock
impl Unpin for WslRecoveryAllocationLock
impl UnsafeUnpin for WslRecoveryAllocationLock
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