Skip to main content

Module shutdown

Module shutdown 

Source

Structs§

ShutdownToken
Cloneable shutdown token used by crate::core::ServiceGroup.

Functions§

shutdown_signal
Waits until the process receives Ctrl-C.

Type Aliases§

ShutdownFuture
Future returned by ShutdownToken::cancelled.