pub struct StaleLock {
pub path: PathBuf,
pub id: String,
pub holder: String,
}Expand description
A lock file nobody is holding: its holder is gone, so the kernel released the lock and the
file is left behind. eclipse doctor --fix removes these.
Fields§
§path: PathBuf§id: StringThe session the lock belongs to, taken from the file name — what doctor compares with the
store to tell a leftover from a lock whose session is gone (#497).
holder: StringWhat the file says held it, for the message: pid 1234, or another process.
Trait Implementations§
impl Eq for StaleLock
impl StructuralPartialEq for StaleLock
Auto Trait Implementations§
impl Forget for StaleLock
impl Freeze for StaleLock
impl Move for StaleLock
impl RefUnwindSafe for StaleLock
impl Send for StaleLockwhere
RawVecInner: Send,
impl Sync for StaleLockwhere
RawVecInner: Sync,
impl Unpin for StaleLock
impl UnsafeUnpin for StaleLock
impl UnwindSafe for StaleLockwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.