pub type PatternHandler = Box<dyn Fn(&str) -> HandlerAction + Send + Sync>;
Handler function type for before/after patterns.
pub struct PatternHandler(/* private fields */);