pub enum FaultKind {
NonCanonical,
Unmapped,
ReadOnly,
}Expand description
Why an access faulted.
Variants§
NonCanonical
The address is not canonical (its bits 63 to 47 differ).
Unmapped
Nothing is mapped there.
ReadOnly
A store to a segment of the image that is not writable.
Trait Implementations§
impl Copy for FaultKind
impl Eq for FaultKind
Source§impl Ord for FaultKind
impl Ord for FaultKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for FaultKind
impl PartialOrd for FaultKind
impl StructuralPartialEq for FaultKind
Auto Trait Implementations§
impl Forget for FaultKind
impl Freeze for FaultKind
impl Move for FaultKind
impl RefUnwindSafe for FaultKind
impl Send for FaultKind
impl Sync for FaultKind
impl Unpin for FaultKind
impl UnsafeUnpin for FaultKind
impl UnwindSafe for FaultKind
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