Trait ProcessesTelemetryMessages

Source
pub trait ProcessesTelemetryMessages:
    PutsSnapshot
    + Send
    + 'static {
    // Required method
    fn process(
        &mut self,
        max: usize,
        strategy: ProcessingStrategy,
    ) -> ProcessingOutcome;
}
Expand description

Can process TelemetryMessage.

This is the counterpart of TransmitsTelemetryData.

Since this mostly results in metrics this trait also requires the capability to write Snapshots.

Required Methods§

Source

fn process( &mut self, max: usize, strategy: ProcessingStrategy, ) -> ProcessingOutcome

Receive and handle pending operations

Implementors§