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

pub struct Signals { /* fields omitted */ }
Expand description

An event source for receiving Unix signals

Implementations

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

Executes the destructor for this type. Read more

The type of events generated by your source.

Some metadata of your event source Read more

The return type of the user callback Read more

Process any relevant events Read more

Register yourself to this poll instance Read more

Re-register your file descriptors Read more

Unregister your file descriptors Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.