Enum SigevNotify

pub enum SigevNotify<'fd>

Specifies the notification method used by a SigEvent

Variants

SigevNone

No notification will be delivered

SigevSignal { signal: Signal, si_value: intptr_t }

Notify by delivering a signal to the process.

SigevThreadId { signal: Signal, thread_id: type_of_thread_id, si_value: intptr_t }

Notify by delivering a signal to a thread.

Trait Implementations

impl<'fd> Clone for SigevNotify<'fd>

fn clone(&self) -> Self

impl<'fd> Copy for SigevNotify<'fd>

impl<'fd> Debug for SigevNotify<'fd>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

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> UnsafeUnpin for SigevNotify<'fd>

impl<'fd> UnwindSafe for SigevNotify<'fd>

Blanket Implementations

impl<T> Any for SigevNotify<'fd> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for SigevNotify<'fd> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for SigevNotify<'fd> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for SigevNotify<'fd> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for SigevNotify<'fd>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for SigevNotify<'fd> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for SigevNotify<'fd> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for SigevNotify<'fd> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for SigevNotify<'fd> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>