pub enum MemAccess {
Ok,
PageFault(u32),
WriteProtected(u32),
}Expand description
Outcome of a memory access (slow path; the fast inline helpers
return raw Option / bool).
Variants§
Ok
PageFault(u32)
Page not mapped at the page-aligned address.
WriteProtected(u32)
Page is read-only and the access is a write.
Trait Implementations§
impl Copy for MemAccess
impl Eq for MemAccess
impl StructuralPartialEq for MemAccess
Auto Trait Implementations§
impl Freeze for MemAccess
impl RefUnwindSafe for MemAccess
impl Send for MemAccess
impl Sync for MemAccess
impl Unpin for MemAccess
impl UnsafeUnpin for MemAccess
impl UnwindSafe for MemAccess
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