#[repr(u8)]pub enum Exception {
Show 23 variants
DivideByZero = 0,
Debug = 1,
NonMaskableInterrupt = 2,
Breakpoint = 3,
Overflow = 4,
BoundRangeExceeded = 5,
InvalidOpcode = 6,
DeviceNotAvailable = 7,
DoubleFault = 8,
CoprocessorSegmentOverrun = 9,
InvalidTSS = 10,
SegmentNotPresent = 11,
StackSegmentFault = 12,
GeneralProtectionFault = 13,
PageFault = 14,
Reserved = 15,
X87FloatingPointException = 16,
AlignmentCheck = 17,
MachineCheck = 18,
SIMDFloatingPointException = 19,
VirtualizationException = 20,
SecurityException = 30,
NoException = 255,
}
Expand description
Exception codes for the x86 architecture. These are helpful to identify the type of exception that occurred together with OutBAction::Abort.
Variants§
DivideByZero = 0
Debug = 1
NonMaskableInterrupt = 2
Breakpoint = 3
Overflow = 4
BoundRangeExceeded = 5
InvalidOpcode = 6
DeviceNotAvailable = 7
DoubleFault = 8
CoprocessorSegmentOverrun = 9
InvalidTSS = 10
SegmentNotPresent = 11
StackSegmentFault = 12
GeneralProtectionFault = 13
PageFault = 14
Reserved = 15
X87FloatingPointException = 16
AlignmentCheck = 17
MachineCheck = 18
SIMDFloatingPointException = 19
VirtualizationException = 20
SecurityException = 30
NoException = 255
Trait Implementations§
impl Copy for Exception
Auto Trait Implementations§
impl Freeze for Exception
impl RefUnwindSafe for Exception
impl Send for Exception
impl Sync for Exception
impl Unpin for Exception
impl UnwindSafe for Exception
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