#[repr(C)]pub struct ExceptionType(/* private fields */);
Expand description
Represents supported CPU exceptions.
Implementations§
Source§impl ExceptionType
impl ExceptionType
Sourcepub const EXCEPT_EBC_UNDEFINED: Self
pub const EXCEPT_EBC_UNDEFINED: Self
Undefined Exception
Sourcepub const EXCEPT_EBC_DIVIDE_ERROR: Self
pub const EXCEPT_EBC_DIVIDE_ERROR: Self
Divide-by-zero Error
Sourcepub const EXCEPT_EBC_DEBUG: Self
pub const EXCEPT_EBC_DEBUG: Self
Debug Exception
Sourcepub const EXCEPT_EBC_BREAKPOINT: Self
pub const EXCEPT_EBC_BREAKPOINT: Self
Breakpoint
Sourcepub const EXCEPT_EBC_OVERFLOW: Self
pub const EXCEPT_EBC_OVERFLOW: Self
Overflow
Sourcepub const EXCEPT_EBC_INVALID_OPCODE: Self
pub const EXCEPT_EBC_INVALID_OPCODE: Self
Invalid Opcode
Sourcepub const EXCEPT_EBC_STACK_FAULT: Self
pub const EXCEPT_EBC_STACK_FAULT: Self
Stack-Segment Fault
Sourcepub const EXCEPT_EBC_ALIGNMENT_CHECK: Self
pub const EXCEPT_EBC_ALIGNMENT_CHECK: Self
Alignment Check
Sourcepub const EXCEPT_EBC_INSTRUCTION_ENCODING: Self
pub const EXCEPT_EBC_INSTRUCTION_ENCODING: Self
Instruction Encoding Exception
Sourcepub const EXCEPT_EBC_BAD_BREAK: Self
pub const EXCEPT_EBC_BAD_BREAK: Self
Bad Breakpoint Exception
Sourcepub const EXCEPT_EBC_SINGLE_STEP: Self
pub const EXCEPT_EBC_SINGLE_STEP: Self
Single Step Exception
Source§impl ExceptionType
impl ExceptionType
Sourcepub const EXCEPT_X64_DIVIDE_ERROR: Self
Available on x86-64 only.
pub const EXCEPT_X64_DIVIDE_ERROR: Self
Divide-by-zero Error
Sourcepub const EXCEPT_X64_DEBUG: Self
Available on x86-64 only.
pub const EXCEPT_X64_DEBUG: Self
Debug Exception
Sourcepub const EXCEPT_X64_NMI: Self
Available on x86-64 only.
pub const EXCEPT_X64_NMI: Self
Non-maskable Interrupt
Sourcepub const EXCEPT_X64_BREAKPOINT: Self
Available on x86-64 only.
pub const EXCEPT_X64_BREAKPOINT: Self
Breakpoint
Sourcepub const EXCEPT_X64_OVERFLOW: Self
Available on x86-64 only.
pub const EXCEPT_X64_OVERFLOW: Self
Overflow
Sourcepub const EXCEPT_X64_BOUND: Self
Available on x86-64 only.
pub const EXCEPT_X64_BOUND: Self
Bound Range Exceeded
Sourcepub const EXCEPT_X64_INVALID_OPCODE: Self
Available on x86-64 only.
pub const EXCEPT_X64_INVALID_OPCODE: Self
Invalid Opcode
Sourcepub const EXCEPT_X64_DOUBLE_FAULT: Self
Available on x86-64 only.
pub const EXCEPT_X64_DOUBLE_FAULT: Self
Double Fault
Sourcepub const EXCEPT_X64_INVALID_TSS: Self
Available on x86-64 only.
pub const EXCEPT_X64_INVALID_TSS: Self
Invalid TSS
Sourcepub const EXCEPT_X64_SEG_NOT_PRESENT: Self
Available on x86-64 only.
pub const EXCEPT_X64_SEG_NOT_PRESENT: Self
Segment Not Present
Sourcepub const EXCEPT_X64_STACK_FAULT: Self
Available on x86-64 only.
pub const EXCEPT_X64_STACK_FAULT: Self
Stack-Segment Fault
Sourcepub const EXCEPT_X64_GP_FAULT: Self
Available on x86-64 only.
pub const EXCEPT_X64_GP_FAULT: Self
General Protection Fault
Sourcepub const EXCEPT_X64_PAGE_FAULT: Self
Available on x86-64 only.
pub const EXCEPT_X64_PAGE_FAULT: Self
Page Fault
Sourcepub const EXCEPT_X64_FP_ERROR: Self
Available on x86-64 only.
pub const EXCEPT_X64_FP_ERROR: Self
x87 Floating-Point Exception
Sourcepub const EXCEPT_X64_ALIGNMENT_CHECK: Self
Available on x86-64 only.
pub const EXCEPT_X64_ALIGNMENT_CHECK: Self
Alignment Check
Sourcepub const EXCEPT_X64_MACHINE_CHECK: Self
Available on x86-64 only.
pub const EXCEPT_X64_MACHINE_CHECK: Self
Machine Check
Sourcepub const EXCEPT_X64_SIMD: Self
Available on x86-64 only.
pub const EXCEPT_X64_SIMD: Self
SIMD Floating-Point Exception
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExceptionType
impl RefUnwindSafe for ExceptionType
impl Send for ExceptionType
impl Sync for ExceptionType
impl Unpin for ExceptionType
impl UnwindSafe for ExceptionType
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