Module tokio::signal::unix

source ·
Expand description

Unix-specific types for signal handling.

This module is only defined on Unix platforms and contains the primary Signal type for receiving notifications of signals.

Structs

An listener for receiving a particular type of OS signal.
Represents the specific kind of signal to listen for.

Functions

Creates a new listener which will receive notifications when the current process receives the specified signal kind.