pub fn on<H, O>(method: Method, handler: H) -> Routewhere H: Handler<Request, Output = Result<O>> + Clone, O: IntoResponse,
Creates a route with a handler and HTTP verb pair.