pub enum SigevNotify {
SigevNone,
SigevSignal {
signal: Signal,
si_value: isize,
},
SigevThreadId {
signal: Signal,
thread_id: i32,
si_value: isize,
},
}
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: isize
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: i32
LWP ID of the thread to notify
si_value: isize
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
sourceimpl Clone for SigevNotify
impl Clone for SigevNotify
sourcefn clone(&self) -> SigevNotify
fn clone(&self) -> SigevNotify
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SigevNotify
impl Debug for SigevNotify
sourceimpl Hash for SigevNotify
impl Hash for SigevNotify
sourceimpl PartialEq<SigevNotify> for SigevNotify
impl PartialEq<SigevNotify> for SigevNotify
sourcefn eq(&self, other: &SigevNotify) -> bool
fn eq(&self, other: &SigevNotify) -> bool
impl Copy for SigevNotify
impl Eq for SigevNotify
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more