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]
impl Clone for SigevNotifyfn clone(&self) -> SigevNotify[src]
fn clone(&self) -> SigevNotifyReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for SigevNotify[src]
impl Copy for SigevNotifyimpl Debug for SigevNotify[src]
impl Debug for SigevNotifyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for SigevNotify[src]
impl PartialEq for SigevNotifyfn eq(&self, other: &SigevNotify) -> bool[src]
fn eq(&self, other: &SigevNotify) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SigevNotify) -> bool[src]
fn ne(&self, other: &SigevNotify) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for SigevNotify
impl Send for SigevNotifyimpl Sync for SigevNotify
impl Sync for SigevNotify