Skip to main content

handler_func

Function handler_func 

Source
pub fn handler_func<F>(f: F) -> HandlerFunc
where F: Fn(&mut dyn ResponseWriter, &mut Request) + Send + Sync + 'static,
Expand description

Convenience constructor.