#[non_exhaustive]pub enum HealthState {
Healthy,
Degraded,
Unknown,
}Expand description
Application health, distinct from manager state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Healthy
The application reports healthy.
Degraded
The application reports degraded/unhealthy.
Unknown
Health is unknown or no probe is configured.
Trait Implementations§
Source§impl Clone for HealthState
impl Clone for HealthState
impl Copy for HealthState
Source§impl Debug for HealthState
impl Debug for HealthState
impl Eq for HealthState
Source§impl PartialEq for HealthState
impl PartialEq for HealthState
impl StructuralPartialEq for HealthState
Auto Trait Implementations§
impl Freeze for HealthState
impl RefUnwindSafe for HealthState
impl Send for HealthState
impl Sync for HealthState
impl Unpin for HealthState
impl UnsafeUnpin for HealthState
impl UnwindSafe for HealthState
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