pub enum LockError {
InUse(Sharing),
Io(Error),
}Expand description
Why the data directory could not be taken.
Variants§
InUse(Sharing)
Something that may not run beside this Sharing holds it.
Io(Error)
A lock file could not be opened or locked.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LockError
impl !UnwindSafe for LockError
impl Freeze for LockError
impl Send for LockError
impl Sync for LockError
impl Unpin for LockError
impl UnsafeUnpin for LockError
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