pub struct FaultDetails {
pub fatal: bool,
pub trapcode: Option<TrapCode>,
pub rip_addr: uintptr_t,
pub rip_addr_details: Option<AddrDetails>,
}
Expand description
Information about a runtime fault.
Runtime faults are raised implictly by signal handlers that return SignalBehavior::Default
in
response to signals arising while a guest is running.
Fields§
§fatal: bool
If true, the instance’s fatal_handler
will be called.
trapcode: Option<TrapCode>
Information about the type of fault that occurred.
rip_addr: uintptr_t
The instruction pointer where the fault occurred.
rip_addr_details: Option<AddrDetails>
Extra information about the instruction pointer’s location, if available.
Trait Implementations§
Source§impl Clone for FaultDetails
impl Clone for FaultDetails
Source§fn clone(&self) -> FaultDetails
fn clone(&self) -> FaultDetails
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FaultDetails
impl Debug for FaultDetails
Auto Trait Implementations§
impl Freeze for FaultDetails
impl RefUnwindSafe for FaultDetails
impl Send for FaultDetails
impl Sync for FaultDetails
impl Unpin for FaultDetails
impl UnwindSafe for FaultDetails
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