#[non_exhaustive]#[repr(C)]pub enum SigillCode {
ILLOPC = 0,
ILLOPN = 1,
ILLADR = 2,
ILLTRP = 3,
PRVOPC = 4,
PRVREG = 5,
CORPOC = 6,
BADSTK = 7,
}
Expand description
Subtype code for SIGILL.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ILLOPC = 0
Illegal opcode.
ILLOPN = 1
Illegal operand.
ILLADR = 2
Illegal addressing mode.
ILLTRP = 3
Illegal trap.
PRVOPC = 4
Privileged opcode.
PRVREG = 5
Privileged register.
CORPOC = 6
Coprocessor error.
BADSTK = 7
Internal stack error.
Trait Implementations§
Source§impl Clone for SigillCode
impl Clone for SigillCode
Source§fn clone(&self) -> SigillCode
fn clone(&self) -> SigillCode
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 SigillCode
impl Debug for SigillCode
Source§impl Hash for SigillCode
impl Hash for SigillCode
Source§impl Ord for SigillCode
impl Ord for SigillCode
Source§fn cmp(&self, other: &SigillCode) -> Ordering
fn cmp(&self, other: &SigillCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SigillCode
impl PartialEq for SigillCode
Source§impl PartialOrd for SigillCode
impl PartialOrd for SigillCode
impl Copy for SigillCode
impl Eq for SigillCode
impl StructuralPartialEq for SigillCode
Auto Trait Implementations§
impl Freeze for SigillCode
impl RefUnwindSafe for SigillCode
impl Send for SigillCode
impl Sync for SigillCode
impl Unpin for SigillCode
impl UnwindSafe for SigillCode
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