pub enum TranslateError {
    PageNotMapped,
    ParentEntryHugePage,
    InvalidFrameAddress(PhysAddr),
}
Expand description

An error indicating that an translate call failed.

Variants

PageNotMapped

The given page is not mapped to a physical frame.

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.

InvalidFrameAddress(PhysAddr)

The page table entry for the given page points to an invalid physical address.

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.