#[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 UnsafeUnpin for Exception
impl UnwindSafe for Exception
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.