pub trait ComponentStatusGetExt {
const COMPONENT_CONDITION_HEALTHY: &str = "Healthy";
// Required method
fn conditions(&self) -> Option<&[ComponentCondition]>;
// Provided methods
fn condition(&self, type: &str) -> Option<&ComponentCondition> { ... }
fn healthy(&self) -> Option<&ComponentCondition> { ... }
}
Provided Associated Constants§
const COMPONENT_CONDITION_HEALTHY: &str = "Healthy"
Required Methods§
fn conditions(&self) -> Option<&[ComponentCondition]>
Provided Methods§
fn condition(&self, type: &str) -> Option<&ComponentCondition>
fn healthy(&self) -> Option<&ComponentCondition>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.