pub fn handler_func<F>(f: F) -> HandlerFuncwhere F: Fn(&mut dyn ResponseWriter, &mut Request) + Send + Sync + 'static,
Convenience constructor.