Enum SystemHealth
pub enum SystemHealth {
Healthy,
Warning,
Critical,
}Expand description
System health status
Variants§
Healthy
System is healthy
Warning
System has warnings but is operational
Critical
System is in critical state
Trait Implementations§
§impl Clone for SystemHealth
impl Clone for SystemHealth
§fn clone(&self) -> SystemHealth
fn clone(&self) -> SystemHealth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SystemHealth
impl Debug for SystemHealth
§impl Default for SystemHealth
impl Default for SystemHealth
§fn default() -> SystemHealth
fn default() -> SystemHealth
Returns the “default value” for a type. Read more
§impl Hash for SystemHealth
impl Hash for SystemHealth
§impl PartialEq for SystemHealth
impl PartialEq for SystemHealth
impl Copy for SystemHealth
impl Eq for SystemHealth
impl StructuralPartialEq for SystemHealth
Auto Trait Implementations§
impl Freeze for SystemHealth
impl RefUnwindSafe for SystemHealth
impl Send for SystemHealth
impl Sync for SystemHealth
impl Unpin for SystemHealth
impl UnwindSafe for SystemHealth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.