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
Used to request asynchronous notification of certain events, for example, with POSIX AIO, POSIX message queues, and POSIX timers.
Variants§
SigevNone
No notification will be delivered
SigevSignal
The signal given by signal
will be delivered to the process. The
value in si_value
will be present in the si_value
field of the
siginfo_t
structure of the queued signal.
SigevThreadId
The signal signal
is queued to the thread whose LWP ID is given in
thread_id
. The value stored in si_value
will be present in the
si_value
of the 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