pub enum ServiceHealth {
Ready,
Healthy,
Degraded,
Failed,
Starting,
Stopping,
Unknown,
}Expand description
Observable health of one managed service.
Variants§
Ready
Startup completed and the service can accept work.
Healthy
The service is running within its declared health policy.
Degraded
The service remains available with reduced guarantees.
Failed
The service cannot provide its responsibility.
Starting
Service startup is in progress.
Stopping
Cooperative shutdown is in progress.
Unknown
The service has not produced a trustworthy health signal.
Implementations§
Source§impl ServiceHealth
impl ServiceHealth
Trait Implementations§
Source§impl Clone for ServiceHealth
impl Clone for ServiceHealth
Source§fn clone(&self) -> ServiceHealth
fn clone(&self) -> ServiceHealth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServiceHealth
Source§impl Debug for ServiceHealth
impl Debug for ServiceHealth
impl Eq for ServiceHealth
Source§impl PartialEq for ServiceHealth
impl PartialEq for ServiceHealth
impl StructuralPartialEq for ServiceHealth
Auto Trait Implementations§
impl Freeze for ServiceHealth
impl RefUnwindSafe for ServiceHealth
impl Send for ServiceHealth
impl Sync for ServiceHealth
impl Unpin for ServiceHealth
impl UnsafeUnpin for ServiceHealth
impl UnwindSafe for ServiceHealth
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