Prepare serve for potentially supporting graceful shutdown (#2357)

This commit is contained in:
David Pedersen
2023-11-26 12:21:35 +00:00
committed by GitHub
parent da82e887cd
commit 15781fe22b
5 changed files with 125 additions and 38 deletions
@@ -12,8 +12,8 @@ error[E0277]: the trait bound `bool: FromRequestParts<()>` is not satisfied
<Method as FromRequestParts<S>>
<axum::http::request::Parts as FromRequestParts<S>>
<Uri as FromRequestParts<S>>
<ConnectInfo<T> as FromRequestParts<S>>
<Version as FromRequestParts<S>>
<ConnectInfo<T> as FromRequestParts<S>>
<Extensions as FromRequestParts<S>>
and $N others
= note: required for `bool` to implement `FromRequest<(), axum_core::extract::private::ViaParts>`