#[repr(u8)]pub enum PageUsage {
Unused = 0,
Reserved = 1,
Frame = 2,
PageTable = 3,
Meta = 4,
Kernel = 5,
}Variants§
Unused = 0
Reserved = 1
The page is reserved or unusable. The kernel should not touch it.
Frame = 2
The page is used as a frame, i.e., a page of untyped memory.
PageTable = 3
The page is used by a page table.
Meta = 4
The page stores metadata of other pages.
Kernel = 5
The page stores the kernel such as kernel code, data, etc.
Implementations§
Trait Implementations§
impl Copy for PageUsage
impl StructuralPartialEq for PageUsage
Auto Trait Implementations§
impl Freeze for PageUsage
impl RefUnwindSafe for PageUsage
impl Send for PageUsage
impl Sync for PageUsage
impl Unpin for PageUsage
impl UnwindSafe for PageUsage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more