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
SigevNone
No notification will be delivered
SigevSignal
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
signal: Signal | |
si_value: intptr_t |
SigevThreadId
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
signal: Signal | |
thread_id: type_of_thread_id | |
si_value: intptr_t |
Trait Implementations
impl Clone for SigevNotify
[src]
impl Clone for SigevNotify
fn clone(&self) -> SigevNotify
[src]
fn clone(&self) -> SigevNotify
Returns 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 SigevNotify
impl Debug for SigevNotify
[src]
impl Debug for SigevNotify
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SigevNotify
[src]
impl PartialEq for SigevNotify
fn eq(&self, other: &SigevNotify) -> bool
[src]
fn eq(&self, other: &SigevNotify) -> bool
This 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) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SigevNotify
impl Send for SigevNotify
impl Sync for SigevNotify
impl Sync for SigevNotify