Enum page_table::PagingError
source · 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§
Auto Trait Implementations§
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