pub type Handler = Box<dyn Handle + Send>;
Expand description
Handle is a function that can be registered to a route to handle HTTP requests. It has a third parameter for the values of wildcards (variables).
Aliased Typeยง
pub struct Handler(/* private fields */);