tokio_signal

Module windows

Source
Expand description

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ยง

  • Stream of events discovered via SetConsoleCtrlHandler.