pub struct SharedFileLock(/* private fields */);Expand description
An owned shared descriptor lock released explicitly before its file closes.
Duplicated or inherited descriptors must not extend this guard’s lock lifetime. Independent acquisitions remain independent. Callers own any shared guard lifetime, paths, namespace custody and cleanup policy; dropping it removes no file.
Implementations§
Trait Implementations§
Auto Trait Implementations§
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