Enum x86_64::structures::paging::mapper::MapToError [−][src]
pub enum MapToError<S: PageSize> { FrameAllocationFailed, ParentEntryHugePage, PageAlreadyMapped(PhysFrame<S>), }
Expand description
This error is returned from map_to
and similar methods.
Variants
Expand description
An additional frame was needed for the mapping process, but the frame allocator
returned None
.
Expand description
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(PhysFrame<S>)
Expand description
The given page is already mapped to a physical frame.
Trait Implementations
Auto Trait Implementations
impl<S> Send for MapToError<S> where
S: Send,
S: Send,
impl<S> Sync for MapToError<S> where
S: Sync,
S: Sync,
impl<S> Unpin for MapToError<S> where
S: Unpin,
S: Unpin,