[][src]Enum nix::sys::signal::SigevNotify

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

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.

Fields of SigevSignal

signal: Signalsi_value: intptr_t
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.

Fields of SigevThreadId

signal: Signalthread_id: type_of_thread_idsi_value: intptr_t

Trait Implementations

impl PartialEq<SigevNotify> for SigevNotify[src]

impl Copy for SigevNotify[src]

impl Clone for SigevNotify[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SigevNotify[src]

Auto Trait Implementations

impl Send for SigevNotify

impl Sync for SigevNotify

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]