Struct lrs::event::Eventfd

An eventfd.

Syntax

struct Eventfd {
    /* private fields */
}

Static methods

NameDescription
new

Creates a new eventfd.

new_init

Creates a new eventfd with an initial value.

Methods

ReceiverNameDescription
&selfadd

Adds a value to the eventfd.

&selfget

Reads the value of the eventfd.

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.

See also