pub struct DirectoryLock { /* private fields */ }Expand description
文件锁守护对象,RAII 模式,析构时自动释放锁
Implementations§
Trait Implementations§
Source§impl Drop for DirectoryLock
impl Drop for DirectoryLock
Auto Trait Implementations§
impl Freeze for DirectoryLock
impl RefUnwindSafe for DirectoryLock
impl Send for DirectoryLock
impl Sync for DirectoryLock
impl Unpin for DirectoryLock
impl UnsafeUnpin for DirectoryLock
impl UnwindSafe for DirectoryLock
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