Module unix

Source
Available on Unix only.
Expand description

Unix specific signals (Tokio re-exports).

Structs§

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

Functions§

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