Expand description
Process-signal subscriptions and optional application-panic notifications.
Enable handling with System::enable_signals or
Builder::signals. Only one system handles
process signals at a time; subscriptions belong to the current system.
Unix delivers hangup, interrupt, termination, and quit signals, plus
best-effort fatal-signal notifications with
Builder::fatal_signals. Windows delivers
Ctrl-C as Signal::Int. Application panics additionally require
Builder::panic_handling.
Enums§
- Panic
Source - Source of a panic signal.
- Signal
- Process and application signals delivered to the runtime.
Functions§
- is_
enabled - Returns whether any system currently owns process signal handling.
- signal
- Registers interest in the next batch of signals.