pub enum PagingError {
NoMemory,
NotAligned,
NotMapped,
AlreadyMapped,
MappedToHugePage,
}
Expand description
The error type for page table operation failures.
Variants§
NoMemory
Cannot allocate memory.
NotAligned
The address is not aligned to the page size.
NotMapped
The mapping is not present.
AlreadyMapped
The mapping is already present.
MappedToHugePage
The page table entry represents a huge page, but the target physical frame is 4K in size.
Trait Implementations§
Source§impl Debug for PagingError
impl Debug for PagingError
Source§impl PartialEq for PagingError
impl PartialEq for PagingError
impl StructuralPartialEq for PagingError
Auto Trait Implementations§
impl Freeze for PagingError
impl RefUnwindSafe for PagingError
impl Send for PagingError
impl Sync for PagingError
impl Unpin for PagingError
impl UnwindSafe for PagingError
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