Skip to main content

SHUTDOWN

Static SHUTDOWN 

Source
pub static SHUTDOWN: AtomicBool
Expand description

Signals that a shutdown signal (SIGINT / SIGTERM / SIGHUP) has been received.

Set in main via ctrlc::set_handler. Long-running subcommands can poll shutdown_requested to shut down gracefully before timeout.