Trait PluginCommunicationComponent

Source
pub trait PluginCommunicationComponent: NerveComponent {
    // Required methods
    fn message_throughput(&self) -> f64;
    fn error_rate(&self) -> f64;
}
Expand description

Simplified communication component interface for plugin system

Required Methods§

Source

fn message_throughput(&self) -> f64

Get message throughput (messages per second)

Source

fn error_rate(&self) -> f64

Get error rate percentage

Implementors§