Enum nix::sys::signal::SigevNotify
source · 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
Notify by delivering a signal to the process.
Fields
§
si_value: intptr_t
Will be present in the si_value
field of the libc::siginfo_t
structure of the queued signal.
SigevThreadId
Notify by delivering a signal to a thread.
Fields
§
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.
Trait Implementations§
source§impl Clone for SigevNotify
impl Clone for SigevNotify
source§fn clone(&self) -> SigevNotify
fn clone(&self) -> SigevNotify
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SigevNotify
impl Debug for SigevNotify
source§impl Hash for SigevNotify
impl Hash for SigevNotify
source§impl PartialEq for SigevNotify
impl PartialEq for SigevNotify
impl Copy for SigevNotify
impl Eq for SigevNotify
impl StructuralPartialEq for SigevNotify
Auto Trait Implementations§
impl Freeze for SigevNotify
impl RefUnwindSafe for SigevNotify
impl Send for SigevNotify
impl Sync for SigevNotify
impl Unpin for SigevNotify
impl UnwindSafe for SigevNotify
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)