pub enum HealthCategory {
Warming,
CollectorFailure,
NotServing,
}Expand description
Machine-readable category for a non-ready health response.
Categories are deliberately coarse so the client can render consistent diagnostics without leaking implementation details.
Variants§
Warming
Counter delta is still being collected.
CollectorFailure
The native collector reported an error.
NotServing
The daemon is shutting down or otherwise refusing traffic.
Trait Implementations§
Source§impl Clone for HealthCategory
impl Clone for HealthCategory
Source§fn clone(&self) -> HealthCategory
fn clone(&self) -> HealthCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HealthCategory
Source§impl Debug for HealthCategory
impl Debug for HealthCategory
Source§impl<'de> Deserialize<'de> for HealthCategory
impl<'de> Deserialize<'de> for HealthCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HealthCategory
Source§impl PartialEq for HealthCategory
impl PartialEq for HealthCategory
Source§impl Serialize for HealthCategory
impl Serialize for HealthCategory
impl StructuralPartialEq for HealthCategory
Auto Trait Implementations§
impl Freeze for HealthCategory
impl RefUnwindSafe for HealthCategory
impl Send for HealthCategory
impl Sync for HealthCategory
impl Unpin for HealthCategory
impl UnsafeUnpin for HealthCategory
impl UnwindSafe for HealthCategory
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