pub struct PageFaultInfo {
pub faulting_address: u64,
pub reason: PageFaultReason,
pub was_write: bool,
pub was_user_mode: bool,
pub instruction_pointer: u64,
}Expand description
Information about a page fault collected by the architecture trap handler.
Fields§
§faulting_address: u64The virtual address that caused the fault.
reason: PageFaultReasonWhy the fault occurred.
was_write: boolWhether the access was a write (true) or read (false).
was_user_mode: boolWhether the fault occurred while executing in user mode.
instruction_pointer: u64Instruction pointer at the time of the fault.
Trait Implementations§
Source§impl Clone for PageFaultInfo
impl Clone for PageFaultInfo
Source§fn clone(&self) -> PageFaultInfo
fn clone(&self) -> PageFaultInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageFaultInfo
impl Debug for PageFaultInfo
impl Copy for PageFaultInfo
Auto Trait Implementations§
impl Freeze for PageFaultInfo
impl RefUnwindSafe for PageFaultInfo
impl Send for PageFaultInfo
impl Sync for PageFaultInfo
impl Unpin for PageFaultInfo
impl UnwindSafe for PageFaultInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)