pub enum Liveness {
Alive,
Gone(String),
Unknown(String),
}Expand description
Whether the owner of a lock still runs, as far as this host can tell.
Variants§
Alive
Gone(String)
The owner is gone; the reason says how that is known.
Unknown(String)
Another host or PID namespace: nothing here can tell.
Trait Implementations§
impl Eq for Liveness
impl StructuralPartialEq for Liveness
Auto Trait Implementations§
impl Forget for Liveness
impl Freeze for Liveness
impl Move for Liveness
impl RefUnwindSafe for Liveness
impl Send for Livenesswhere
RawVecInner: Send,
impl Sync for Livenesswhere
RawVecInner: Sync,
impl Unpin for Liveness
impl UnsafeUnpin for Liveness
impl UnwindSafe for Livenesswhere
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