pub struct PosixLockTable { /* private fields */ }Expand description
| Tracks the files locked by | PosixEnv::LockFile(). | | We maintain a separate set instead of relying | on fcntl(F_SETLK) because fcntl(F_SETLK) does | not provide any protection against multiple | uses from the same process. | | Instances are thread-safe because all member | data is guarded by a mutex.
Implementations§
Auto Trait Implementations§
impl !Freeze for PosixLockTable
impl !RefUnwindSafe for PosixLockTable
impl Send for PosixLockTable
impl Sync for PosixLockTable
impl Unpin for PosixLockTable
impl UnwindSafe for PosixLockTable
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