Enum linux_api::signal::SigInfoCodeIll
source · #[repr(i32)]pub enum SigInfoCodeIll {
ILL_ILLOPC = 1,
ILL_ILLOPN = 2,
ILL_ILLADR = 3,
ILL_ILLTRP = 4,
ILL_PRVOPC = 5,
ILL_PRVREG = 6,
ILL_COPROC = 7,
ILL_BADSTK = 8,
ILL_BADIADDR = 9,
}
Expand description
Codes for SIGILL
Variants§
ILL_ILLOPC = 1
ILL_ILLOPN = 2
ILL_ILLADR = 3
ILL_ILLTRP = 4
ILL_PRVOPC = 5
ILL_PRVREG = 6
ILL_COPROC = 7
ILL_BADSTK = 8
ILL_BADIADDR = 9
Trait Implementations§
source§impl Clone for SigInfoCodeIll
impl Clone for SigInfoCodeIll
source§fn clone(&self) -> SigInfoCodeIll
fn clone(&self) -> SigInfoCodeIll
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 SigInfoCodeIll
impl Debug for SigInfoCodeIll
source§impl From<SigInfoCodeIll> for i32
impl From<SigInfoCodeIll> for i32
source§fn from(enum_value: SigInfoCodeIll) -> Self
fn from(enum_value: SigInfoCodeIll) -> Self
Converts to this type from the input type.
source§impl PartialEq for SigInfoCodeIll
impl PartialEq for SigInfoCodeIll
source§impl TryFrom<i32> for SigInfoCodeIll
impl TryFrom<i32> for SigInfoCodeIll
source§type Error = TryFromPrimitiveError<SigInfoCodeIll>
type Error = TryFromPrimitiveError<SigInfoCodeIll>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SigInfoCodeIll
impl TryFromPrimitive for SigInfoCodeIll
type Primitive = i32
type Error = TryFromPrimitiveError<SigInfoCodeIll>
const NAME: &'static str = "SigInfoCodeIll"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SigInfoCodeIll
impl Eq for SigInfoCodeIll
impl StructuralPartialEq for SigInfoCodeIll
Auto Trait Implementations§
impl Freeze for SigInfoCodeIll
impl RefUnwindSafe for SigInfoCodeIll
impl Send for SigInfoCodeIll
impl Sync for SigInfoCodeIll
impl Unpin for SigInfoCodeIll
impl UnwindSafe for SigInfoCodeIll
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
)