Struct uefi::proto::debug::ExceptionType

source ·
#[repr(C)]
pub struct ExceptionType(/* private fields */);
Expand description

Represents supported CPU exceptions.

Implementations§

source§

impl ExceptionType

source

pub const EXCEPT_EBC_UNDEFINED: ExceptionType = _

Undefined Exception

source

pub const EXCEPT_EBC_DIVIDE_ERROR: ExceptionType = _

Divide-by-zero Error

source

pub const EXCEPT_EBC_DEBUG: ExceptionType = _

Debug Exception

source

pub const EXCEPT_EBC_BREAKPOINT: ExceptionType = _

Breakpoint

source

pub const EXCEPT_EBC_OVERFLOW: ExceptionType = _

Overflow

source

pub const EXCEPT_EBC_INVALID_OPCODE: ExceptionType = _

Invalid Opcode

source

pub const EXCEPT_EBC_STACK_FAULT: ExceptionType = _

Stack-Segment Fault

source

pub const EXCEPT_EBC_ALIGNMENT_CHECK: ExceptionType = _

Alignment Check

source

pub const EXCEPT_EBC_INSTRUCTION_ENCODING: ExceptionType = _

Instruction Encoding Exception

source

pub const EXCEPT_EBC_BAD_BREAK: ExceptionType = _

Bad Breakpoint Exception

source

pub const EXCEPT_EBC_SINGLE_STEP: ExceptionType = _

Single Step Exception

source§

impl ExceptionType

source

pub const EXCEPT_X64_DIVIDE_ERROR: ExceptionType = _

Available on x86-64 only.

Divide-by-zero Error

source

pub const EXCEPT_X64_DEBUG: ExceptionType = _

Available on x86-64 only.

Debug Exception

source

pub const EXCEPT_X64_NMI: ExceptionType = _

Available on x86-64 only.

Non-maskable Interrupt

source

pub const EXCEPT_X64_BREAKPOINT: ExceptionType = _

Available on x86-64 only.

Breakpoint

source

pub const EXCEPT_X64_OVERFLOW: ExceptionType = _

Available on x86-64 only.

Overflow

source

pub const EXCEPT_X64_BOUND: ExceptionType = _

Available on x86-64 only.

Bound Range Exceeded

source

pub const EXCEPT_X64_INVALID_OPCODE: ExceptionType = _

Available on x86-64 only.

Invalid Opcode

source

pub const EXCEPT_X64_DOUBLE_FAULT: ExceptionType = _

Available on x86-64 only.

Double Fault

source

pub const EXCEPT_X64_INVALID_TSS: ExceptionType = _

Available on x86-64 only.

Invalid TSS

source

pub const EXCEPT_X64_SEG_NOT_PRESENT: ExceptionType = _

Available on x86-64 only.

Segment Not Present

source

pub const EXCEPT_X64_STACK_FAULT: ExceptionType = _

Available on x86-64 only.

Stack-Segment Fault

source

pub const EXCEPT_X64_GP_FAULT: ExceptionType = _

Available on x86-64 only.

General Protection Fault

source

pub const EXCEPT_X64_PAGE_FAULT: ExceptionType = _

Available on x86-64 only.

Page Fault

source

pub const EXCEPT_X64_FP_ERROR: ExceptionType = _

Available on x86-64 only.

x87 Floating-Point Exception

source

pub const EXCEPT_X64_ALIGNMENT_CHECK: ExceptionType = _

Available on x86-64 only.

Alignment Check

source

pub const EXCEPT_X64_MACHINE_CHECK: ExceptionType = _

Available on x86-64 only.

Machine Check

source

pub const EXCEPT_X64_SIMD: ExceptionType = _

Available on x86-64 only.

SIMD Floating-Point Exception

Trait Implementations§

source§

impl Debug for ExceptionType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.