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]
fn clone(&self) -> SigevNotify
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SigevNotify
[src]
impl Debug for SigevNotify
[src]
impl Eq for SigevNotify
[src]
impl Hash for SigevNotify
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SigevNotify> for SigevNotify
[src]
fn eq(&self, other: &SigevNotify) -> bool
[src]
fn ne(&self, other: &SigevNotify) -> bool
[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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,