[][src]Trait nakadion::publisher::AggregatesProcessors

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

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

pub fn add_processor<P>(&mut self, processor: P) where
    P: ProcessesTelemetryMessages
[src]

Add a processor.

pub fn add_snapshooter<S>(&mut self, snapshooter: S) where
    S: PutsSnapshot
[src]

Add a snapshooter.

Loading content...

Provided methods

pub fn attached_mount(&mut self, mount: ProcessorMount) -> AttachedMount[src]

Loading content...

Implementations on Foreign Types

impl AggregatesProcessors for AttachedMount[src]

Loading content...

Implementors

impl AggregatesProcessors for ProcessorMount[src]

impl AggregatesProcessors for TelemetryDriver[src]

Loading content...