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,
},
}
Expand description
Specifies the notification method used by a SigEvent
Variants
SigevNone
No notification will be delivered
SigevSignal
Fields
signal: Signal
Signal to deliver
si_value: intptr_t
Will be present in the si_value
field of the libc::siginfo_t
structure of the queued signal.
Notify by delivering a signal to the process.
SigevThreadId
Fields
signal: Signal
Signal to send
thread_id: type_of_thread_id
LWP ID of the thread to notify
si_value: intptr_t
Will be present in the si_value
field of the libc::siginfo_t
structure of the queued signal.
Notify by delivering a signal to a thread.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SigevNotify
impl Send for SigevNotify
impl Sync for SigevNotify
impl Unpin for SigevNotify
impl UnwindSafe for SigevNotify
Blanket Implementations
Mutably borrows from an owned value. Read more