Skip to main content

PostProcessor

Trait PostProcessor 

Source
pub trait PostProcessor: Send {
    // Required methods
    fn name(&self) -> &str;
    fn interval_secs(&self) -> u64;
    fn process(&self, input: Box<dyn EventStream>) -> Box<dyn EventStream>;
}
Expand description

Post-processor trait for data reduction (mean, max, min, etc.).

Required Methods§

Source

fn name(&self) -> &str

Source

fn interval_secs(&self) -> u64

Source

fn process(&self, input: Box<dyn EventStream>) -> Box<dyn EventStream>

Implementors§