Enum nix::sys::signal::SigevNotify [−][src]
pub enum SigevNotify { SigevNone, SigevSignal { signal: Signal, si_value: intptr_t, }, SigevThreadId { signal: Signal, thread_id: type_of_thread_id, si_value: intptr_t, }, }
Used to request asynchronous notification of certain events, for example, with POSIX AIO, POSIX message queues, and POSIX timers.
Variants
No notification will be delivered
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.
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.
Fields of SigevThreadId
Trait Implementations
impl Clone for SigevNotify
[src][+]
impl Copy for SigevNotify
[src]
impl Debug for SigevNotify
[src][+]
impl Eq for SigevNotify
[src]
impl Hash for SigevNotify
[src][+]
impl PartialEq<SigevNotify> for SigevNotify
[src][+]
impl StructuralEq for SigevNotify
[src]
impl StructuralPartialEq for SigevNotify
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,