pub fn is_fault(&self) -> bool {
        match self {
            Self::DivideByZero => true,
            Self::Debug => true,
            Self::NonMaskableInterrupt => false,
            Self::Breakpoint => false,
            Self::Overflow => false,
            Self::BoundRangeExceeded => true,
            Self::InvalidOpcode => true,
            Self::DeviceNotAvailable => true,
            Self::DoubleFault => false,
            #[allow(deprecated)]
            Self::CoprocessorSegmentOverrun => true,
            Self::InvalidTss => true,
            Self::SegmentNotPresent => true,
            Self::StackSegmentFault => true,
            Self::GeneralProtectionFault => true,
            Self::PageFault => true,
            Self::X87FloatingPointException => true,
            Self::AlignmentCheck => true,
            Self::MachineCheck => false,
            Self::SimdFloatingPointException => true,
            Self::VirtualizationException => true,
            Self::SecurityException => false,
        }
    }
/// An exception is a *fault* if the problem that caused it can be corrected and the process
/// can continue as if the exception had never been thrown. The faults are [`DivideByZero`],
/// [`Debug`] (sometimes), [`BoundRangeExceeded`], [`InvalidOpcode`], [`DeviceNotAvailable`],
/// [`CoprocessorSegmentOverrun`], [`InvalidTss`], [`SegmentNotPresent`],
/// [`StackSegmentFault`], [`GeneralProtectionFault`], [`PageFault`],
/// [`X87FloatingPointException`], [`AlignmentCheck`], [`SimdFloatingPointException`], and
/// [`VirtualizationException`].
///
/// [`AlignmentCheck`]: #variant.AlignmentCheck
/// [`BoundRangeExceeded`]: #variant.BoundRangeExceeded
/// [`CoprocessorSegmentOverrun`]: #variant.CoprocessorSegmentOverrun
/// [`Debug`]: #variant.Debug
/// [`DeviceNotAvailable`]: #variant.DeviceNotAvailable
/// [`DivideByZero`]: #variant.DivideByZero
/// [`GeneralProtectionFault`]: #variant.GeneralProtectionFault
/// [`InvalidOpcode`]: #variant.InvalidOpcode
/// [`InvalidTss`]: #variant.InvalidTss
/// [`PageFault`]: #variant.PageFault
/// [`SegmentNotPresent`]: #variant.SegmentNotPresent
/// [`SimdFloatingPointException`]: #variant.SimdFloatingPointException
/// [`StackSegmentFault`]: #variant.StackSegmentFault
/// [`VirtualizationException`]: #variant.VirtualizationException
/// [`X87FloatingPointException`]: #variant.X87FloatingPointException
An exception is a *fault* if the problem that caused it can be corrected and the process
can continue as if the exception had never been thrown.


An exception is a * fault * if the problem that caused it can be corrected and the process can continue as if the exception had never been thrown .
pub fn is_fault(&self) -> bool {
        match self {
            Self::DivideByZero => true,
            Self::Debug => true,
            Self::NonMaskableInterrupt => false,
            Self::Breakpoint => false,
            Self::Overflow => false,
            Self::BoundRangeExceeded => true,
            Self::InvalidOpcode => true,
            Self::DeviceNotAvailable => true,
            Self::DoubleFault => false,
            #[allow(deprecated)]
            Self::CoprocessorSegmentOverrun => true,
            Self::InvalidTss => true,
            Self::SegmentNotPresent => true,
            Self::StackSegmentFault => true,
            Self::GeneralProtectionFault => true,
            Self::PageFault => true,
            Self::X87FloatingPointException => true,
            Self::AlignmentCheck => true,
            Self::MachineCheck => false,
            Self::SimdFloatingPointException => true,
            Self::VirtualizationException => true,
            Self::SecurityException => false,
        }
    }
pub fn is_fault ( & self ) -> bool { match self { Self :: DivideByZero => true , Self :: Debug => true , Self :: NonMaskableInterrupt => false , Self :: Breakpoint => false , Self :: Overflow => false , Self :: BoundRangeExceeded => true , Self :: InvalidOpcode => true , Self :: DeviceNotAvailable => true , Self :: DoubleFault => false , # [ allow ( deprecated ) ] Self :: CoprocessorSegmentOverrun => true , Self :: InvalidTss => true , Self :: SegmentNotPresent => true , Self :: StackSegmentFault => true , Self :: GeneralProtectionFault => true , Self :: PageFault => true , Self :: X87FloatingPointException => true , Self :: AlignmentCheck => true , Self :: MachineCheck => false , Self :: SimdFloatingPointException => true , Self :: VirtualizationException => true , Self :: SecurityException => false , } }
An exception is a *fault* if the problem that caused it can be corrected and the process
can continue as if the exception had never been thrown.
An exception is a * fault * if the problem that caused it can be corrected and the process can continue as if the exception had never been thrown .
&self
&self