Rocket/core/codegen
Sergio Benitez 0ba56ccbb3 Revamp shutdown to recover shutdown 'Rocket'.
The core improvement is that `Rocket::launch()` now resolves to
`Ok(Rocket<Ignite>)` on nominal shutdown. Furthermore, shutdown never
terminates the running process.

Other changes directly related to shutdown:

  * Runtime worker thread names are now irrelevant to graceful shutdown.
  * `ErrorKind::Runtime` was removed; `ErrorKind::Shutdown` was added.
  * The `force` config value is only read from the default provider.
  * If `force`, Rocket's constructed async runtime is terminated.

Other related changes:

  * The exported `hyper` module docs properly reflect public re-exports.
2022-05-07 06:12:24 -05:00
..
src Revamp shutdown to recover shutdown 'Rocket'. 2022-05-07 06:12:24 -05:00
tests Revamp shutdown to recover shutdown 'Rocket'. 2022-05-07 06:12:24 -05:00
Cargo.toml Migrate Rocket to Rust 2021 edition. 2022-04-19 18:35:38 -07:00