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 Snapshot
s.
Required Methods§
Sourcefn process(
&mut self,
max: usize,
strategy: ProcessingStrategy,
) -> ProcessingOutcome
fn process( &mut self, max: usize, strategy: ProcessingStrategy, ) -> ProcessingOutcome
Receive and handle pending operations