pub struct InterruptVector(/* private fields */);
Expand description
An interrupt/exception number.
Implementations§
Source§impl InterruptVector
impl InterruptVector
Sourcepub const DivideError: Self
pub const DivideError: Self
#DE
: Division by zero or overflow in division.
Sourcepub const DebugException: Self
pub const DebugException: Self
#DB
: Breakpoints or other debugging-related traps/faults.
Sourcepub const NonMaskable: Self
pub const NonMaskable: Self
NMI
: Severe external interrupt that cannot be ignored.
Sourcepub const Breakpoint: Self
pub const Breakpoint: Self
#BP
: Breakpoint via INT3
instruction.
Sourcepub const InvalidOpcode: Self
pub const InvalidOpcode: Self
#UD
: Unrecognized or reserved instruction opcode.
Sourcepub const DeviceNotAvailable: Self
pub const DeviceNotAvailable: Self
#NM
: Tried to execute FPU instruction with no coprocessor present.
Sourcepub const DoubleFault: Self
pub const DoubleFault: Self
#DF
: A fault was triggered while handling another interrupt.
Sourcepub const InvalidTaskSegment: Self
pub const InvalidTaskSegment: Self
#TS
: An error was found in the TSS while task switching.
Sourcepub const SegmentNotPresent: Self
pub const SegmentNotPresent: Self
#NP
: Tried to use a segment without a descriptor defined. Does not apply to
the stack segment, which has its own exception.
Sourcepub const StackFault: Self
pub const StackFault: Self
#SS
: The stack overflowed its segment or the segment was invalid.
Sourcepub const ProtectionFault: Self
pub const ProtectionFault: Self
#GP
: Memory protection or other miscellaneous error.
Sourcepub const PageFault: Self
pub const PageFault: Self
#PF
: Tried to load a page that was not present, or used a page in a way that
was not allowed by its attributes.
Sourcepub const FloatingPointError: Self
pub const FloatingPointError: Self
#MF
: Unmasked floating-point error that was not part of a SIMD operation.
Sourcepub const AlignmentCheck: Self
pub const AlignmentCheck: Self
#AC
: Improperly aligned memory access in user mode while alignment checks
were enabled.
Sourcepub const MachineCheck: Self
pub const MachineCheck: Self
#MC
: Internal processor/bus error.
Sourcepub const SIMDFloatingPointError: Self
pub const SIMDFloatingPointError: Self
#XM
: Unmasked floating-point error during SIMD operation.
Sourcepub const VirtualizationException: Self
pub const VirtualizationException: Self
#VE
: Improper use of virtualization extensions.
See [ControlRegister4::virtual_machine_extensions
].
Sourcepub const ControlProtectionException: Self
pub const ControlProtectionException: Self
#CP
: Improper branching detected by control-flow guard.
See [ControlRegister4::control_flow_enforcement
].
Trait Implementations§
Source§impl CEnum<u8> for InterruptVector
impl CEnum<u8> for InterruptVector
Source§impl Clone for InterruptVector
impl Clone for InterruptVector
Source§fn clone(&self) -> InterruptVector
fn clone(&self) -> InterruptVector
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more