pub enum Health {
Healthy,
Suspect,
Degraded,
Stalled,
Dead,
}Expand description
How healthy a connection looks, on the evidence so far.
Variants§
Healthy
Delivering at or near its established rate.
Suspect
Evidence of a drop, not yet conclusive. Repair may pre-empt on this.
Degraded
Confirmed sustained collapse. Prefer moving work away.
Stalled
Nothing arriving for longer than the stall timeout.
Dead
Failed and not worth retrying within this transfer.
Implementations§
Trait Implementations§
impl Copy for Health
impl Eq for Health
Source§impl Ord for Health
impl Ord for Health
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Health
impl PartialOrd for Health
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnsafeUnpin for Health
impl UnwindSafe for Health
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