data_pipeline_rs::data_handler

Trait DataFilter

source
pub trait DataFilter<T> {
    // Required method
    fn should_forward(&mut self, data: &T) -> bool;

    // Provided method
    fn get_stats(&self) -> Option<Value> { ... }
}

Required Methods§

source

fn should_forward(&mut self, data: &T) -> bool

Provided Methods§

Implementors§