#[repr(i32)]pub enum SigInfoCodeSegv {
SEGV_MAPERR = 1,
SEGV_ACCERR = 2,
SEGV_BNDERR = 3,
SEGV_PKUERR = 4,
SEGV_ACCADI = 5,
SEGV_ADIDERR = 6,
SEGV_ADIPERR = 7,
SEGV_MTEAERR = 8,
SEGV_MTESERR = 9,
}
Expand description
Codes for SIGSEGV
Variants§
SEGV_MAPERR = 1
SEGV_ACCERR = 2
SEGV_BNDERR = 3
SEGV_PKUERR = 4
SEGV_ACCADI = 5
SEGV_ADIDERR = 6
SEGV_ADIPERR = 7
SEGV_MTEAERR = 8
SEGV_MTESERR = 9
Trait Implementations§
source§impl Clone for SigInfoCodeSegv
impl Clone for SigInfoCodeSegv
source§fn clone(&self) -> SigInfoCodeSegv
fn clone(&self) -> SigInfoCodeSegv
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 SigInfoCodeSegv
impl Debug for SigInfoCodeSegv
source§impl From<SigInfoCodeSegv> for i32
impl From<SigInfoCodeSegv> for i32
source§fn from(enum_value: SigInfoCodeSegv) -> Self
fn from(enum_value: SigInfoCodeSegv) -> Self
Converts to this type from the input type.
source§impl PartialEq for SigInfoCodeSegv
impl PartialEq for SigInfoCodeSegv
source§impl TryFrom<i32> for SigInfoCodeSegv
impl TryFrom<i32> for SigInfoCodeSegv
source§type Error = TryFromPrimitiveError<SigInfoCodeSegv>
type Error = TryFromPrimitiveError<SigInfoCodeSegv>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SigInfoCodeSegv
impl TryFromPrimitive for SigInfoCodeSegv
const NAME: &'static str = "SigInfoCodeSegv"
type Primitive = i32
type Error = TryFromPrimitiveError<SigInfoCodeSegv>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SigInfoCodeSegv
impl Eq for SigInfoCodeSegv
impl StructuralPartialEq for SigInfoCodeSegv
Auto Trait Implementations§
impl Freeze for SigInfoCodeSegv
impl RefUnwindSafe for SigInfoCodeSegv
impl Send for SigInfoCodeSegv
impl Sync for SigInfoCodeSegv
impl Unpin for SigInfoCodeSegv
impl UnwindSafe for SigInfoCodeSegv
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
)