Available on crate feature
shutdown
only.Expand description
Drives graceful shutdown when the process receives a signal.
Structs
Indicates whether shutdown completed gracefully or was forced by a second signal
CancelOnShutdown
runtime
Indicates an error registering a signal handler
Indicates an error registering a signal handler
Drives shutdown by watching signals
Watch for a drain command.
Functions
Creates a shutdown channel