broker_tokio::signal

Module windows

Source
Available on crate feature signal only.
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§

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

Functions§

  • Creates a new stream which receives “ctrl-break” notifications sent to the process.