pub trait StatusReporter: Send + Sync {
// Required methods
fn capability_name(&self) -> &'static str;
fn is_running(&self) -> bool;
// Provided method
fn status_detail(&self) -> Option<String> { ... }
}Expand description
Trait for types that can report a capability status summary.
Each domain core implements this so the binary crate can build a unified status view without coupling domains.
Required Methods§
Sourcefn capability_name(&self) -> &'static str
fn capability_name(&self) -> &'static str
Machine-readable capability name (e.g. “mdns”, “dns”, “health”).
Sourcefn is_running(&self) -> bool
fn is_running(&self) -> bool
Whether the capability is currently operational.
Provided Methods§
Sourcefn status_detail(&self) -> Option<String>
fn status_detail(&self) -> Option<String>
Optional human-readable status detail.