pub enum LockError {
Held(Holder),
Unreadable(PathBuf),
Io(Error),
}Expand description
Why a Binding’s lock couldn’t be taken.
Variants§
Held(Holder)
Another run holds it (on this host and alive, or on another host).
Unreadable(PathBuf)
The lock file is there but unreadable (a crash mid-write, a hand edit).
Io(Error)
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