Enum linux_api::signal::SigProcMaskAction
source · #[repr(i32)]pub enum SigProcMaskAction {
SIG_BLOCK = 0,
SIG_UNBLOCK = 1,
SIG_SETMASK = 2,
}
Expand description
For use with rt_sigprocmask
.
Variants§
Trait Implementations§
source§impl Debug for SigProcMaskAction
impl Debug for SigProcMaskAction
source§impl From<SigProcMaskAction> for i32
impl From<SigProcMaskAction> for i32
source§fn from(enum_value: SigProcMaskAction) -> Self
fn from(enum_value: SigProcMaskAction) -> Self
Converts to this type from the input type.
source§impl PartialEq for SigProcMaskAction
impl PartialEq for SigProcMaskAction
source§impl TryFrom<i32> for SigProcMaskAction
impl TryFrom<i32> for SigProcMaskAction
source§type Error = TryFromPrimitiveError<SigProcMaskAction>
type Error = TryFromPrimitiveError<SigProcMaskAction>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SigProcMaskAction
impl TryFromPrimitive for SigProcMaskAction
type Primitive = i32
type Error = TryFromPrimitiveError<SigProcMaskAction>
const NAME: &'static str = "SigProcMaskAction"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Eq for SigProcMaskAction
impl StructuralPartialEq for SigProcMaskAction
Auto Trait Implementations§
impl Freeze for SigProcMaskAction
impl RefUnwindSafe for SigProcMaskAction
impl Send for SigProcMaskAction
impl Sync for SigProcMaskAction
impl Unpin for SigProcMaskAction
impl UnwindSafe for SigProcMaskAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more