Enum nix::sys::signal::SigevNotify [] [src]

pub enum SigevNotify {
    SigevNone,
    SigevSignal {
        signal: Signal,
        si_value: intptr_t,
    },
    SigevThreadId {
        signal: Signal,
        thread_id: type_of_thread_id,
        si_value: intptr_t,
    },
}

Used to request asynchronous notification of certain events, for example, with POSIX AIO, POSIX message queues, and POSIX timers.

Variants

No notification will be delivered

The signal given by signal will be delivered to the process. The value in si_value will be present in the si_value field of the siginfo_t structure of the queued signal.

Fields of SigevSignal

The signal signal is queued to the thread whose LWP ID is given in thread_id. The value stored in si_value will be present in the si_value of the siginfo_t structure of the queued signal.

Fields of SigevThreadId

Trait Implementations

impl Clone for SigevNotify
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SigevNotify
[src]

impl Debug for SigevNotify
[src]

Formats the value using the given formatter.

impl PartialEq for SigevNotify
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.