pub trait Filter: for<'a> From<&'a Options> {
// Required methods
fn apply<W: Write>(&mut self, sink: W, line: &[u8]) -> Result<()>;
fn reset(&mut self, opts: &Options);
}Expand description
A filter selection algorithm.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.