Rocket/core/codegen/src
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
..
attribute Workaround 'rustc' bug, compiling more async code. 2021-08-24 19:46:47 -07:00
bang Allow 'unused_doc_comments' on generated doctests. 2022-04-19 13:13:33 -07:00
derive Allow named field generics in 'UriDisplay' derive. 2021-07-01 06:02:40 -07:00
exports.rs Use 'syn', 'proc_macro2' directly. 2021-05-21 09:13:47 -07:00
http_codegen.rs Apply clippy suggestions. 2021-06-30 14:13:19 -07:00
lib.rs Revamp shutdown to recover shutdown 'Rocket'. 2022-05-07 06:12:24 -05:00
name.rs Support type generics, unit structs in 'FromForm'. 2021-06-29 03:37:52 -07:00
proc_macro_ext.rs Use 'syn', 'proc_macro2' directly. 2021-05-21 09:13:47 -07:00
syn_ext.rs Apply clippy suggestions. 2021-06-30 14:13:19 -07:00