#[non_exhaustive]pub enum ProviderHealth {
Healthy,
Degraded,
Exhausted,
Shutdown,
}Expand description
Provider-wide admission health.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Healthy
New protected admission is permitted.
Degraded
A failure blocks new high-assurance admission.
Exhausted
A finite provider budget is exhausted.
Shutdown
The provider instance cannot admit or recover more work.
Trait Implementations§
Source§impl Clone for ProviderHealth
impl Clone for ProviderHealth
Source§fn clone(&self) -> ProviderHealth
fn clone(&self) -> ProviderHealth
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 ProviderHealth
Source§impl Debug for ProviderHealth
impl Debug for ProviderHealth
impl Eq for ProviderHealth
Source§impl Hash for ProviderHealth
impl Hash for ProviderHealth
Source§impl PartialEq for ProviderHealth
impl PartialEq for ProviderHealth
impl StructuralPartialEq for ProviderHealth
Auto Trait Implementations§
impl Freeze for ProviderHealth
impl RefUnwindSafe for ProviderHealth
impl Send for ProviderHealth
impl Sync for ProviderHealth
impl Unpin for ProviderHealth
impl UnsafeUnpin for ProviderHealth
impl UnwindSafe for ProviderHealth
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