pub trait PluginThreadComponent: NerveComponent {
// Required methods
fn thread_count(&self) -> usize;
fn max_threads(&self) -> usize;
fn thread_utilization(&self) -> f64;
}Expand description
Simplified thread component interface for plugin system
Required Methods§
Sourcefn thread_count(&self) -> usize
fn thread_count(&self) -> usize
Get current thread count
Sourcefn max_threads(&self) -> usize
fn max_threads(&self) -> usize
Get maximum allowed threads
Sourcefn thread_utilization(&self) -> f64
fn thread_utilization(&self) -> f64
Get thread utilization percentage