Available on Windows and crate feature 
signal only.Expand description
Windows-specific types for signal handling.
This module is only defined on Windows and allows receiving “ctrl-c”,
“ctrl-break”, “ctrl-logoff”, “ctrl-shutdown”, and “ctrl-close”
notifications. These events are listened for via the SetConsoleCtrlHandler
function which receives the corresponding windows_sys event type.
Structs§
- Ctrl
Break  - Represents a listener which receives “ctrl-break” notifications sent to the process
via 
SetConsoleCtrlHandler. - CtrlC
 - Represents a listener which receives “ctrl-c” notifications sent to the process
via 
SetConsoleCtrlHandler. - Ctrl
Close  - Represents a listener which receives “ctrl-close” notifications sent to the process
via 
SetConsoleCtrlHandler. - Ctrl
Logoff  - Represents a listener which receives “ctrl-logoff” notifications sent to the process
via 
SetConsoleCtrlHandler. - Ctrl
Shutdown  - Represents a listener which receives “ctrl-shutdown” notifications sent to the process
via 
SetConsoleCtrlHandler. 
Functions§
- ctrl_
break  - Creates a new listener which receives “ctrl-break” notifications sent to the process.
 - ctrl_c
 - Creates a new listener which receives “ctrl-c” notifications sent to the process.
 - ctrl_
close  - Creates a new listener which receives “ctrl-close” notifications sent to the process.
 - ctrl_
logoff  - Creates a new listener which receives “ctrl-logoff” notifications sent to the process.
 - ctrl_
shutdown  - Creates a new listener which receives “ctrl-shutdown” notifications sent to the process.