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 Freeze for Liveness
impl RefUnwindSafe for Liveness
impl Send for Liveness
impl Sync for Liveness
impl Unpin for Liveness
impl UnsafeUnpin for Liveness
impl UnwindSafe for Liveness
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