pub enum Liveness {
Alive,
Dead,
}Variants§
Alive
The heartbeat lease is current and any recorded process is alive.
Dead
The lease expired, the process exited, or the host rebooted.
Trait Implementations§
impl Copy for Liveness
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