Trait ComponentStatusReporter
pub trait ComponentStatusReporter {
// Required method
fn component_status(&self) -> ComponentStatus;
}Expand description
Trait for components that can report their own health status.
Implementors track their health internally and return the current
ComponentStatus on demand. This enables the Has* accessor
traits to delegate status queries directly to the underlying component
rather than computing status from global node state.
Required Methods§
fn component_status(&self) -> ComponentStatus
fn component_status(&self) -> ComponentStatus
Returns the current health status of this component.