pub enum HealthStatus {
HealthIsUnknown = 0,
SignalIsUnhealthy = 1,
SignalIsHealthy = 2,
}
Expand description
Health status.
Variants§
HealthIsUnknown = 0
Health is unknown
SignalIsUnhealthy = 1
Signal is unhealthy
SignalIsHealthy = 2
Signal is healthy
Trait Implementations§
source§impl Clone for HealthStatus
impl Clone for HealthStatus
source§fn clone(&self) -> HealthStatus
fn clone(&self) -> HealthStatus
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 HealthStatus
impl Debug for HealthStatus
source§impl Display for HealthStatus
impl Display for HealthStatus
source§impl Hash for HealthStatus
impl Hash for HealthStatus
source§impl PartialEq for HealthStatus
impl PartialEq for HealthStatus
source§fn eq(&self, other: &HealthStatus) -> bool
fn eq(&self, other: &HealthStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for HealthStatus
impl TryFrom<u8> for HealthStatus
impl Copy for HealthStatus
impl Eq for HealthStatus
impl StructuralPartialEq for HealthStatus
Auto Trait Implementations§
impl Freeze for HealthStatus
impl RefUnwindSafe for HealthStatus
impl Send for HealthStatus
impl Sync for HealthStatus
impl Unpin for HealthStatus
impl UnwindSafe for HealthStatus
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