pub async fn shutdown_handler(__arg0: State<Shutdown>) -> ResponseAvailable on crate feature
axum only.Expand description
Axum request handler that calls Shutdown::shutdown.
Expects the Shutdown to be available as state. See Router::with_state.