Enum x86_64::structures::paging::mapper::MappedFrame[][src]

pub enum MappedFrame {
    Size4KiB(PhysFrame<Size4KiB>),
    Size2MiB(PhysFrame<Size2MiB>),
    Size1GiB(PhysFrame<Size1GiB>),
}
Expand description

Represents a physical frame mapped in a page table.

Variants

Size4KiB(PhysFrame<Size4KiB>)

The virtual address is mapped to a 4KiB frame.

Size2MiB(PhysFrame<Size2MiB>)

The virtual address is mapped to a “large” 2MiB frame.

Size1GiB(PhysFrame<Size1GiB>)

The virtual address is mapped to a “huge” 1GiB frame.

Implementations

Returns the start address of the frame.

Returns the size the frame (4KB, 2MB or 1GB).

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.