[][src]Module tokio::signal::unix

This is supported on feature="signal" only.

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

Signalfeature="signal"

A stream of events for receiving a particular type of OS signal.

SignalKindfeature="signal"

Represents the specific kind of signal to listen for.

Functions

signalfeature="signal"

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