Module libpulse_binding::mainloop::signal [] [src]

UNIX signal support for main loops.

Overview

In contrast to other main loop event sources such as timer and IO events, UNIX signal support requires modification of the global process environment. Due to this the generic main loop abstraction layer as defined in ::mainloop::api doesn't have direct support for UNIX signals. However, you may hook signal support into an abstract main loop via the routines defined herein.

Structs

Event

An opaque UNIX signal event source object This acts as a safe Rust wrapper for the actual C object.

Enums

EventInternal

An opaque UNIX signal event source object

Type Definitions

DestroyCb

Destroy callback prototype for signal events

SignalCb

Callback prototype for signal events