pub enum UnmapError {
ParentEntryHugePage,
PageNotMapped,
InvalidFrameAddress(PhysAddr),
}
Expand description
An error indicating that an unmap
call failed.
Variants§
ParentEntryHugePage
An upper level page table entry has the HUGE_PAGE
flag set, which means that the
given page is part of a huge page and can’t be freed individually.
PageNotMapped
The given page is not mapped to a physical frame.
InvalidFrameAddress(PhysAddr)
The page table entry for the given page points to an invalid physical address.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnmapError
impl RefUnwindSafe for UnmapError
impl Send for UnmapError
impl Sync for UnmapError
impl Unpin for UnmapError
impl UnwindSafe for UnmapError
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