pub struct Class(/* private fields */);
Expand description
Classifies different exception causes.
Note that the Arm documentation defines more variants than are defined in this type. This only includes exception classes that can be triggered from Aarch64 state and taken to EL1.
Implementations§
Source§impl Class
impl Class
Sourcepub const Unknown: Self
pub const Unknown: Self
Tried to execute an undefined/unsupported opcode, or for any other reason that does not fall under another exception class.
Sourcepub const IllegalState: Self
pub const IllegalState: Self
Tried to execute instructions after an illegal return.
Sourcepub const SupervisorCall: Self
pub const SupervisorCall: Self
Triggered a system call via the SVC
instruction.
Sourcepub const SystemInstruction: Self
pub const SystemInstruction: Self
Trapped access to a system register or instruction.
Sourcepub const VectorAccess: Self
pub const VectorAccess: Self
Trapped access to a vector register or instruction.
Sourcepub const PointerAuthFailure: Self
pub const PointerAuthFailure: Self
Improperly authenticated pointer detected. Requires FEAT_FPAC
.
Sourcepub const InstructionAbortFromLower: Self
pub const InstructionAbortFromLower: Self
Instruction abort triggered at lower exception level.
Sourcepub const InstructionAbortFromCurrent: Self
pub const InstructionAbortFromCurrent: Self
Instruction abort triggered at current exception level.
Sourcepub const PCAlignment: Self
pub const PCAlignment: Self
Program counter not properly aligned.
Sourcepub const DataAbortFromLower: Self
pub const DataAbortFromLower: Self
Data abort triggered at lower exception level.
Sourcepub const DataAbortFromCurrent: Self
pub const DataAbortFromCurrent: Self
Data abort triggered at current exception level.
Sourcepub const SPAlignment: Self
pub const SPAlignment: Self
Stack pointer not properly aligned.
Sourcepub const FloatException: Self
pub const FloatException: Self
Trapped floating point exception.
Sourcepub const SystemError: Self
pub const SystemError: Self
System error (SError).
Sourcepub const BreakpointFromLower: Self
pub const BreakpointFromLower: Self
Breakpoint triggered at lower exception level.
Sourcepub const BreakpointFromCurrent: Self
pub const BreakpointFromCurrent: Self
Breakpoint triggered at current exception level.
Sourcepub const StepFromLower: Self
pub const StepFromLower: Self
Software step at lower exception level.
Sourcepub const StepFromCurrent: Self
pub const StepFromCurrent: Self
Software step at current exception level.
Sourcepub const WatchpointFromLower: Self
pub const WatchpointFromLower: Self
Watchpoint triggered at lower exception level.
Sourcepub const WatchpointFromCurrent: Self
pub const WatchpointFromCurrent: Self
Watchpoint triggered at current exception level.
Sourcepub const BreakpointInstruction: Self
pub const BreakpointInstruction: Self
Executed a BRK
breakpoint instruction.