pub trait DebugProvider {
// Required methods
fn component_name(&self) -> &str;
fn debug_info(&self) -> String;
// Provided method
fn debug_summary(&self) -> Option<String> { ... }
}
Expand description
Trait for components that can provide debug information
Required Methods§
Sourcefn component_name(&self) -> &str
fn component_name(&self) -> &str
Get the component’s name for identification in logs
Sourcefn debug_info(&self) -> String
fn debug_info(&self) -> String
Generate debug information about current state
Provided Methods§
Sourcefn debug_summary(&self) -> Option<String>
fn debug_summary(&self) -> Option<String>
Generate a compact summary for the status line