pub struct VaultLock { /* private fields */ }Expand description
An exclusive advisory lock on a vault file.
Holds a .murk.lock file with an exclusive flock for the duration of a
read-modify-write cycle. Dropped automatically when the guard goes out of scope.
Auto Trait Implementations§
impl Freeze for VaultLock
impl RefUnwindSafe for VaultLock
impl Send for VaultLock
impl Sync for VaultLock
impl Unpin for VaultLock
impl UnsafeUnpin for VaultLock
impl UnwindSafe for VaultLock
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