Enum SigmaskHow

#[repr(i32)]
#[non_exhaustive]
pub enum SigmaskHow

Specifies how certain functions should manipulate a signal mask

Variants

SIG_BLOCK = libc::SIG_BLOCK

The new mask is the union of the current mask and the specified set.

SIG_UNBLOCK = libc::SIG_UNBLOCK

The new mask is the intersection of the current mask and the complement of the specified set.

SIG_SETMASK = libc::SIG_SETMASK

The current mask is replaced by the specified set.

Trait Implementations

impl Clone for SigmaskHow

fn clone(&self) -> Self

impl Copy for SigmaskHow

impl Debug for SigmaskHow

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

impl Eq for SigmaskHow

impl Hash for SigmaskHow

fn hash<__H: Hasher>(&self, state: &mut __H)

impl Ord for SigmaskHow

fn cmp(&self, other: &Self) -> Ordering

impl PartialEq for SigmaskHow

fn eq(&self, other: &Self) -> bool

impl PartialOrd for SigmaskHow

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

impl StructuralPartialEq for SigmaskHow

Auto Trait Implementations

impl Freeze for SigmaskHow

impl RefUnwindSafe for SigmaskHow

impl Send for SigmaskHow

impl Sync for SigmaskHow

impl Unpin for SigmaskHow

impl UnsafeUnpin for SigmaskHow

impl UnwindSafe for SigmaskHow

Blanket Implementations

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

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for SigmaskHow where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for SigmaskHow where T: ?Sized,

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

impl<T> CloneToUninit for SigmaskHow where T: Clone,

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

impl<T> From<T> for SigmaskHow

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for SigmaskHow where T: Clone,

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

impl<T, U> Into<U> for SigmaskHow 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 SigmaskHow where U: Into<T>,

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

impl<T, U> TryInto<U> for SigmaskHow where U: TryFrom<T>,

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