pub enum ServerHealth {
Healthy,
Degraded,
Unhealthy,
Unknown,
}
Expand description
Server health status
Represents the health state of a server based on monitoring checks. This is used by the ServerMonitor to track and report on server health.
Variants§
Healthy
Server is healthy and operating normally
Degraded
Server is operational but performing sub-optimally
Unhealthy
Server is not functioning correctly
Unknown
Server health could not be determined
Trait Implementations§
Source§impl Clone for ServerHealth
impl Clone for ServerHealth
Source§fn clone(&self) -> ServerHealth
fn clone(&self) -> ServerHealth
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 moreSource§impl Debug for ServerHealth
impl Debug for ServerHealth
Source§impl PartialEq for ServerHealth
impl PartialEq for ServerHealth
impl Copy for ServerHealth
impl Eq for ServerHealth
impl StructuralPartialEq for ServerHealth
Auto Trait Implementations§
impl Freeze for ServerHealth
impl RefUnwindSafe for ServerHealth
impl Send for ServerHealth
impl Sync for ServerHealth
impl Unpin for ServerHealth
impl UnwindSafe for ServerHealth
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.