pub enum Health {
Healthy,
Unhealthy,
Undisclosed,
Unreachable,
}Expand description
What /healthz said.
Variants§
Healthy
The node answered 200: its durable append path is working.
Unhealthy
The node answered 503. It is up, and it is telling us its own durability check has failed — the state that exits the daemon 75 for a supervisor.
Undisclosed
The node is up but would not say, because this credential may not ask.
Unreachable
Nothing answered.
Implementations§
Trait Implementations§
impl Copy for Health
impl Eq for Health
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnsafeUnpin for Health
impl UnwindSafe for Health
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