DebugTrace

Trait DebugTrace 

Source
pub trait DebugTrace: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn debug_sections(&self) -> Vec<DebugSection>;

    // Provided methods
    fn debug_summary(&self) -> Option<String> { ... }
    fn is_active(&self) -> bool { ... }
}
Expand description

Trait for components that can provide debug information

Required Methods§

Source

fn name(&self) -> &str

Get the name of this debug provider

Source

fn debug_sections(&self) -> Vec<DebugSection>

Generate debug sections for the current state Returns a vector of debug sections that can be displayed

Provided Methods§

Source

fn debug_summary(&self) -> Option<String>

Optional method to get a quick summary (one-liner)

Source

fn is_active(&self) -> bool

Check if this provider is currently active/relevant

Implementors§