Struct tartan_arch::x86_common::interrupt::InterruptVector
source · 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 moresource§impl Debug for InterruptVector
impl Debug for InterruptVector
source§impl Default for InterruptVector
impl Default for InterruptVector
source§fn default() -> InterruptVector
fn default() -> InterruptVector
source§impl From<InterruptVector> for u8
impl From<InterruptVector> for u8
source§fn from(enum_value: InterruptVector) -> Self
fn from(enum_value: InterruptVector) -> Self
source§impl From<u8> for InterruptVector
impl From<u8> for InterruptVector
source§impl Hash for InterruptVector
impl Hash for InterruptVector
source§impl Ord for InterruptVector
impl Ord for InterruptVector
source§fn cmp(&self, other: &InterruptVector) -> Ordering
fn cmp(&self, other: &InterruptVector) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for InterruptVector
impl PartialEq for InterruptVector
source§impl PartialOrd for InterruptVector
impl PartialOrd for InterruptVector
impl Copy for InterruptVector
impl Eq for InterruptVector
impl StructuralPartialEq for InterruptVector
Auto Trait Implementations§
impl Freeze for InterruptVector
impl RefUnwindSafe for InterruptVector
impl Send for InterruptVector
impl Sync for InterruptVector
impl Unpin for InterruptVector
impl UnwindSafe for InterruptVector
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)