1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use crate::Record; /// Expose Processor trait at crate root pub trait Processor { fn process(&self, record: &mut Record); fn severity(&self) -> usize { 0 } } // Internal modules for processor implementations mod context; // Re-export all processor implementations pub use context::*;