pub struct ExclusiveLock { /* private fields */ }Expand description
An acquired non-blocking exclusive advisory lock.
The operating-system lock is released when this value is dropped. The descriptor is intentionally private so callers cannot reintroduce direct synchronous filesystem access around the lock boundary.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExclusiveLock
impl RefUnwindSafe for ExclusiveLock
impl Send for ExclusiveLock
impl Sync for ExclusiveLock
impl Unpin for ExclusiveLock
impl UnsafeUnpin for ExclusiveLock
impl UnwindSafe for ExclusiveLock
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