PrometheusHandle was moved into the HttpServer Fn closure but Fn closures require Clone (not FnOnce). Wrap in web::Data before cloning into the closure. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
PrometheusHandle was moved into the HttpServer Fn closure but Fn closures require Clone (not FnOnce). Wrap in web::Data before cloning into the closure. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||