pub enum PageFaultReason {
NotPresent,
ProtectionViolation,
WriteToReadOnly,
ExecuteNoExecute,
UserModeKernelAccess,
}Expand description
Reason a page fault occurred.
Variants§
NotPresent
Page is not present in the page table.
ProtectionViolation
A protection violation was detected (e.g., access rights mismatch).
WriteToReadOnly
Write to a read-only page.
ExecuteNoExecute
Attempt to execute a page marked as no-execute.
UserModeKernelAccess
User-mode code tried to access a kernel-only page.
Trait Implementations§
Source§impl Clone for PageFaultReason
impl Clone for PageFaultReason
Source§fn clone(&self) -> PageFaultReason
fn clone(&self) -> PageFaultReason
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 PageFaultReason
impl Debug for PageFaultReason
Source§impl PartialEq for PageFaultReason
impl PartialEq for PageFaultReason
impl Copy for PageFaultReason
impl Eq for PageFaultReason
impl StructuralPartialEq for PageFaultReason
Auto Trait Implementations§
impl Freeze for PageFaultReason
impl RefUnwindSafe for PageFaultReason
impl Send for PageFaultReason
impl Sync for PageFaultReason
impl Unpin for PageFaultReason
impl UnwindSafe for PageFaultReason
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)