Enum riscv::paging::UnmapError
source · [−]pub enum UnmapError<P: PhysicalAddress> {
ParentEntryHugePage,
PageNotMapped,
InvalidFrameAddress(P),
}
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(P)
The page table entry for the given page points to an invalid physical address.
Trait Implementations
sourceimpl<P: Debug + PhysicalAddress> Debug for UnmapError<P>
impl<P: Debug + PhysicalAddress> Debug for UnmapError<P>
Auto Trait Implementations
impl<P> RefUnwindSafe for UnmapError<P> where
P: RefUnwindSafe,
impl<P> Send for UnmapError<P> where
P: Send,
impl<P> Sync for UnmapError<P> where
P: Sync,
impl<P> Unpin for UnmapError<P> where
P: Unpin,
impl<P> UnwindSafe for UnmapError<P> where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more