Enum riscv::paging::MapToError
source · [−]pub enum MapToError {
FrameAllocationFailed,
ParentEntryHugePage,
PageAlreadyMapped,
}
Expand description
This error is returned from map_to
and similar methods.
Variants
FrameAllocationFailed
An additional frame was needed for the mapping process, but the frame allocator
returned None
.
ParentEntryHugePage
An upper level page table entry has the HUGE_PAGE
flag set, which means that the
given page is part of an already mapped huge page.
PageAlreadyMapped
The given page is already mapped to a physical frame.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MapToError
impl Send for MapToError
impl Sync for MapToError
impl Unpin for MapToError
impl UnwindSafe for MapToError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more