pub enum Health {
Ok,
Http503,
Delay(Millis),
Stall(Millis),
}Variants§
Ok
Http503
Http probes get a 503; the process stays active.
Delay(Millis)
The service answers requests after this long (Http probes); it still accepts connections at once.
Stall(Millis)
Every network probe, connecting included, takes this long (the port is unreachable rather than slow).
Trait Implementations§
impl Eq 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