pub enum SigevNotify<'fd> {
    SigevNone,
    SigevSignal {
        signal: Signal,
        si_value: intptr_t,
    },
    SigevThreadId {
        signal: Signal,
        thread_id: type_of_thread_id,
        si_value: intptr_t,
    },
    // some variants omitted
}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_tWill 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_idLWP ID of the thread to notify
§
si_value: intptr_tWill be present in the si_value field of the libc::siginfo_t
structure of the queued signal.
Trait Implementations§
Source§impl<'fd> Clone for SigevNotify<'fd>
 
impl<'fd> Clone for SigevNotify<'fd>
Source§fn clone(&self) -> SigevNotify<'fd>
 
fn clone(&self) -> SigevNotify<'fd>
Returns a duplicate 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<'fd> Debug for SigevNotify<'fd>
 
impl<'fd> Debug for SigevNotify<'fd>
impl<'fd> Copy for SigevNotify<'fd>
Auto Trait Implementations§
impl<'fd> Freeze for SigevNotify<'fd>
impl<'fd> RefUnwindSafe for SigevNotify<'fd>
impl<'fd> Send for SigevNotify<'fd>
impl<'fd> Sync for SigevNotify<'fd>
impl<'fd> Unpin for SigevNotify<'fd>
impl<'fd> UnwindSafe for SigevNotify<'fd>
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