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
SigevNoneNo notification will be delivered
SigevSignalThe 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
signal: Signal | |
si_value: intptr_t |
SigevThreadIdThe 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
signal: Signal | |
thread_id: type_of_thread_id | |
si_value: intptr_t |
Trait Implementations
impl Clone for SigevNotify[src]
fn clone(&self) -> SigevNotify
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for SigevNotify[src]
impl Debug for SigevNotify[src]
impl PartialEq for SigevNotify[src]
fn eq(&self, __arg_0: &SigevNotify) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &SigevNotify) -> bool
This method tests for !=.