pub struct PageFaultErrorCode(/* private fields */);Expand description
Page fault error code bits
Implementations§
Source§impl PageFaultErrorCode
impl PageFaultErrorCode
Sourcepub fn protection_violation(&self) -> bool
pub fn protection_violation(&self) -> bool
Was the fault caused by a page-level protection violation?
Sourcepub fn reserved_write(&self) -> bool
pub fn reserved_write(&self) -> bool
Was the fault caused by reserved bit violation?
Sourcepub fn instruction_fetch(&self) -> bool
pub fn instruction_fetch(&self) -> bool
Was the fault caused by instruction fetch?
Trait Implementations§
Source§impl Clone for PageFaultErrorCode
impl Clone for PageFaultErrorCode
Source§fn clone(&self) -> PageFaultErrorCode
fn clone(&self) -> PageFaultErrorCode
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 PageFaultErrorCode
impl Debug for PageFaultErrorCode
impl Copy for PageFaultErrorCode
Auto Trait Implementations§
impl Freeze for PageFaultErrorCode
impl RefUnwindSafe for PageFaultErrorCode
impl Send for PageFaultErrorCode
impl Sync for PageFaultErrorCode
impl Unpin for PageFaultErrorCode
impl UnwindSafe for PageFaultErrorCode
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)