Enum os_bootinfo::MemoryRegionType
[−]
[src]
#[repr(C)]pub enum MemoryRegionType { Usable, InUse, Reserved, AcpiReclaimable, AcpiNvs, BadMemory, Kernel, KernelStack, PageTable, Bootloader, FrameZero, Empty, BootInfo, }
Variants
Usable
free RAM
InUse
used RAM
Reserved
unusable
AcpiReclaimable
ACPI reclaimable memory
AcpiNvs
ACPI NVS memory
BadMemory
Area containing bad memory
Kernel
kernel memory
KernelStack
kernel stack memory
PageTable
memory used by page tables
Bootloader
memory used by the bootloader
FrameZero
frame at address zero
(shouldn't be used because it's easy to make mistakes related to null pointers)
Empty
an empty region with size 0
BootInfo
used for storing the boot information
Trait Implementations
impl Debug for MemoryRegionType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for MemoryRegionType
[src]
fn clone(&self) -> MemoryRegionType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for MemoryRegionType
[src]
impl PartialEq for MemoryRegionType
[src]
fn eq(&self, __arg_0: &MemoryRegionType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.