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

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.