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
SigevNoneNo notification will be delivered
SigevSignal { signal: Signal, si_value: libc::intptr_t }signal: SignalSignal to deliver
si_value: libc::intptr_tWill 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: SignalSignal to send
thread_id: type_of_thread_idLWP ID of the thread to notify
si_value: libc::intptr_tWill 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) -> SigevNotifyimpl Copy for SigevNotifyimpl Debug for SigevNotify
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Eq for SigevNotifyimpl Hash for SigevNotify
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl PartialEq<SigevNotify> for SigevNotify
fn eq(&Self, other: &SigevNotify) -> boolfn ne(&Self, other: &SigevNotify) -> boolimpl StructuralEq for SigevNotifyimpl StructuralPartialEq for SigevNotifyAuto Trait Implementations
impl RefUnwindSafe for SigevNotifyimpl Send for SigevNotifyimpl Sync for SigevNotifyimpl Unpin for SigevNotifyimpl UnwindSafe for SigevNotifyBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T