pub struct BootException {
pub registers: GeneralRegisters,
pub pc: usize,
pub sp: usize,
pub status: u64,
pub syndrome: u64,
pub fault_address: VirtAddr,
pub level: u8,
pub kind: TrapKind,
pub source: TrapSource,
}Expand description
Copied machine state at an early exception boundary.
Fields§
§registers: GeneralRegistersArchitecture-native saved integer registers.
pc: usizeSaved exception return address.
sp: usizeInterrupted stack pointer.
status: u64Saved PSTATE, SSTATUS, PRMD or RFLAGS.
syndrome: u64ESR, SCAUSE, ESTAT or x86 error code captured by the owning vector.
fault_address: VirtAddrFAR, STVAL, BADV or CR2 captured by the owning vector.
level: u8Available on AArch64 only.
Architectural exception level (1 or 2).
kind: TrapKindAvailable on AArch64 only.
Synchronous, IRQ, FIQ or SError vector kind.
source: TrapSourceAvailable on AArch64 only.
Vector source domain.
Trait Implementations§
Source§impl Clone for BootException
impl Clone for BootException
Source§fn clone(&self) -> BootException
fn clone(&self) -> BootException
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BootException
Auto Trait Implementations§
impl Freeze for BootException
impl RefUnwindSafe for BootException
impl Send for BootException
impl Sync for BootException
impl Unpin for BootException
impl UnsafeUnpin for BootException
impl UnwindSafe for BootException
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