pub trait Filter: Send { type Context; // Required method fn predicate(&self, ctx: &Self::Context, input: &str) -> bool; }