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

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(PhysFrame<S>)

The given page is already mapped to a physical frame.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.