Struct calloop::signals::Signals[][src]

pub struct Signals { /* fields omitted */ }

An event source for receiving Unix signals

Methods

impl Signals
[src]

Create a new signal event source listening on the specified list of signals

Add a list of signals to the signals source

If this function returns an error, the signal mask of the thread may have still been changed.

Remove a list of signals to the signals source

If this function returns an error, the signal mask of the thread may have still been changed.

Replace the list of signals of the source

If this function returns an error, the signal mask of the thread may have still been changed.

Trait Implementations

impl Drop for Signals
[src]

Executes the destructor for this type. Read more

impl Evented for Signals
[src]

Register self with the given Poll instance. Read more

Re-register self with the given Poll instance. Read more

Deregister self from the given Poll instance Read more

impl EventSource for Signals
[src]

The type of events generated by your sources

The interest value that will be given to mio when registering your source

The pollopt value that will be given to mio when registering your source

Wrap an user callback into a dispatcher, that will convert an mio readiness into an event Read more

Auto Trait Implementations

impl !Send for Signals

impl !Sync for Signals