data_pipeline_rs::data_handler

Trait DataDemuxer

source
pub trait DataDemuxer<T> {
    // Required methods
    fn find_path(&mut self, data: &T) -> Option<&NodeRef<T>>;
    fn visit(&mut self, visitor: &mut dyn NodeVisitor<T>);

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

Required Methods§

source

fn find_path(&mut self, data: &T) -> Option<&NodeRef<T>>

source

fn visit(&mut self, visitor: &mut dyn NodeVisitor<T>)

Provided Methods§

Implementors§