Trait nakadion::instrumentation::AggregatesProcessors[][src]

pub trait AggregatesProcessors {
    fn add_processor<P>(&mut self, processor: P)
    where
        P: ProcessesTelemetryMessages
;
fn add_snapshooter<S>(&mut self, snapshooter: S)
    where
        S: PutsSnapshot
; fn attached_mount(&mut self, mount: ProcessorMount) -> AttachedMount { ... } }
Expand description

Implementors can group everything that can process TelemetryMessages.

Since PutsSnapshot implementors can be added almost everywhere the add_snapshooter method is placed here, too.

Required methods

Add a processor.

Add a snapshooter.

Provided methods

Implementations on Foreign Types

Implementors