Struct lrs::signal::Sigfd

A signalfd.

Syntax

struct Sigfd {
    /* private fields */
}

Static methods

NameDescription
new

Creates a new signalfd.

Flags used when creating the file descriptor.

Methods

ReceiverNameDescription
&selfread

Reads a number of signals from the signalfd.

&selfset_mask

Sets the mask of monitored signals.

Trait implementations

NameDescription
Drop

Objects with a destructor.

FDContainer

Objects that are file descriptor wrappers.

UndefState

Types that are not valid when they contain certain bit patterns.