[][src]Module tokio::signal::windows

This is supported on crate feature signal only.

Windows-specific types for signal handling.

This module is only defined on Windows and contains the primary Event type for receiving notifications of events. These events are listened for via the SetConsoleCtrlHandler function which receives events of the type CTRL_C_EVENT and CTRL_BREAK_EVENT

Structs

CtrlBreak

Represents a stream which receives "ctrl-break" notifications sent to the process via SetConsoleCtrlHandler.

Functions

ctrl_break

Creates a new stream which receives "ctrl-break" notifications sent to the process.