Enum linux_api::signal::SigInfoCodeFpe
source · #[repr(i32)]pub enum SigInfoCodeFpe {
FPE_INTDIV = 1,
FPE_INTOVF = 2,
FPE_FLTDIV = 3,
FPE_FLTOVF = 4,
FPE_FLTUND = 5,
FPE_FLTRES = 6,
FPE_FLTINV = 7,
FPE_FLTSUB = 8,
FPE_FLTUNK = 14,
FPE_CONDTRAP = 15,
}
Expand description
Codes for SIGFPE
Variants§
FPE_INTDIV = 1
FPE_INTOVF = 2
FPE_FLTDIV = 3
FPE_FLTOVF = 4
FPE_FLTUND = 5
FPE_FLTRES = 6
FPE_FLTINV = 7
FPE_FLTSUB = 8
FPE_FLTUNK = 14
FPE_CONDTRAP = 15
Trait Implementations§
source§impl Clone for SigInfoCodeFpe
impl Clone for SigInfoCodeFpe
source§fn clone(&self) -> SigInfoCodeFpe
fn clone(&self) -> SigInfoCodeFpe
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SigInfoCodeFpe
impl Debug for SigInfoCodeFpe
source§impl From<SigInfoCodeFpe> for i32
impl From<SigInfoCodeFpe> for i32
source§fn from(enum_value: SigInfoCodeFpe) -> Self
fn from(enum_value: SigInfoCodeFpe) -> Self
Converts to this type from the input type.
source§impl PartialEq for SigInfoCodeFpe
impl PartialEq for SigInfoCodeFpe
source§impl TryFrom<i32> for SigInfoCodeFpe
impl TryFrom<i32> for SigInfoCodeFpe
source§type Error = TryFromPrimitiveError<SigInfoCodeFpe>
type Error = TryFromPrimitiveError<SigInfoCodeFpe>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SigInfoCodeFpe
impl TryFromPrimitive for SigInfoCodeFpe
type Primitive = i32
type Error = TryFromPrimitiveError<SigInfoCodeFpe>
const NAME: &'static str = "SigInfoCodeFpe"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SigInfoCodeFpe
impl Eq for SigInfoCodeFpe
impl StructuralPartialEq for SigInfoCodeFpe
Auto Trait Implementations§
impl Freeze for SigInfoCodeFpe
impl RefUnwindSafe for SigInfoCodeFpe
impl Send for SigInfoCodeFpe
impl Sync for SigInfoCodeFpe
impl Unpin for SigInfoCodeFpe
impl UnwindSafe for SigInfoCodeFpe
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)