pub enum ServerHealth {
Healthy,
Degraded,
Unhealthy,
Unknown,
}
Expand description
Server health status
Variants§
Healthy
Server is healthy
Degraded
Server is degraded
Unhealthy
Server is unhealthy
Unknown
Server health is unknown
Trait Implementations§
Source§impl Clone for ServerHealth
impl Clone for ServerHealth
Source§fn clone(&self) -> ServerHealth
fn clone(&self) -> ServerHealth
Returns a copy 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