Enum page_walker::walker::PteType [−][src]
Expand description
The PTE can either be a page or page table.
Variants
Page(usize)The PTE refers to a physical page.
Tuple Fields of Page
0: usizePageTable(usize)The PTE refers to another page table.
Tuple Fields of PageTable
0: usizeImplementations
Returns true if the PteType is a page table and false otherwise.
Extracts the level at which the PTE is found. The level is a monotonicly increasing number that starts at zero for the leaf page table and where the maximum number is the root page table.
Returns whether the current PTE refers to a huge page, i.e. it checks whether the page type
is a page and the level is non-zero. Returns true if it is a huge page and false
otherwise.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PteType
impl UnwindSafe for PteType
Blanket Implementations
Mutably borrows from an owned value. Read more