pub enum RuntimeHealthStatus {
Healthy,
Degraded,
Unhealthy,
}Expand description
Coarse health state produced by a runtime.
Variants§
Healthy
Runtime is operating normally.
Degraded
Runtime remains available with reduced guarantees.
Unhealthy
Runtime is unable to serve its declared contract.
Trait Implementations§
Source§impl Clone for RuntimeHealthStatus
impl Clone for RuntimeHealthStatus
Source§fn clone(&self) -> RuntimeHealthStatus
fn clone(&self) -> RuntimeHealthStatus
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 RuntimeHealthStatus
Source§impl Debug for RuntimeHealthStatus
impl Debug for RuntimeHealthStatus
Source§impl<'de> Deserialize<'de> for RuntimeHealthStatus
impl<'de> Deserialize<'de> for RuntimeHealthStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RuntimeHealthStatus
Source§impl PartialEq for RuntimeHealthStatus
impl PartialEq for RuntimeHealthStatus
Source§impl Serialize for RuntimeHealthStatus
impl Serialize for RuntimeHealthStatus
impl StructuralPartialEq for RuntimeHealthStatus
Auto Trait Implementations§
impl Freeze for RuntimeHealthStatus
impl RefUnwindSafe for RuntimeHealthStatus
impl Send for RuntimeHealthStatus
impl Sync for RuntimeHealthStatus
impl Unpin for RuntimeHealthStatus
impl UnsafeUnpin for RuntimeHealthStatus
impl UnwindSafe for RuntimeHealthStatus
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