Enum nix::sys::signal::SigevNotify
pub enum SigevNotify {
SigevNone,
SigevSignal { signal: Signal, si_value: libc::intptr_t },
SigevThreadId { signal: Signal, thread_id: type_of_thread_id, si_value: libc::intptr_t },
}
The portability is definied by:
#[cfg(not(any(target_os = "openbsd", target_os = "redox")))]
Documentation
Specifies the notification method used by a SigEvent
Variants
SigevNone
No notification will be delivered
SigevSignal { signal: Signal, si_value: libc::intptr_t }
signal: Signal
Signal to deliver
si_value: libc::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 { signal: Signal, thread_id: type_of_thread_id, si_value: libc::intptr_t }
signal: Signal
Signal to send
thread_id: type_of_thread_id
LWP ID of the thread to notify
si_value: libc::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
impl Clone for SigevNotify
fn clone(&Self) -> SigevNotify
impl Copy for SigevNotify
impl Debug for SigevNotify
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for SigevNotify
impl Hash for SigevNotify
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<SigevNotify> for SigevNotify
fn eq(&Self, other: &SigevNotify) -> bool
fn ne(&Self, other: &SigevNotify) -> bool
impl StructuralEq for SigevNotify
impl StructuralPartialEq for SigevNotify
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
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T