Trait PluginNodeComponent

Source
pub trait PluginNodeComponent: NerveComponent {
    // Required methods
    fn node_count(&self) -> usize;
    fn node_count_by_type(&self, node_type: NodeType) -> usize;
    fn node_health_summary(&self) -> PluginNodeHealthSummary;
}
Expand description

Simplified node component interface for plugin system

Required Methods§

Source

fn node_count(&self) -> usize

Get total node count

Source

fn node_count_by_type(&self, node_type: NodeType) -> usize

Get node count by type

Source

fn node_health_summary(&self) -> PluginNodeHealthSummary

Get node health summary

Implementors§