pub struct ScopedFileLock { /* private fields */ }Implementations§
Source§impl ScopedFileLock
impl ScopedFileLock
pub fn acquire( target: &Path, scope: FileLockScope, ) -> Result<ScopedFileLock, Error>
Trait Implementations§
Source§impl Debug for ScopedFileLock
impl Debug for ScopedFileLock
Source§impl Drop for ScopedFileLock
Available on Unix only.
impl Drop for ScopedFileLock
Available on Unix only.
Auto Trait Implementations§
impl Freeze for ScopedFileLock
impl RefUnwindSafe for ScopedFileLock
impl Send for ScopedFileLock
impl Sync for ScopedFileLock
impl Unpin for ScopedFileLock
impl UnsafeUnpin for ScopedFileLock
impl UnwindSafe for ScopedFileLock
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