Enum os_bootinfo::MemoryRegionType [−][src]
#[repr(C)]pub enum MemoryRegionType { Usable, InUse, Reserved, AcpiReclaimable, AcpiNvs, BadMemory, Kernel, KernelStack, PageTable, Bootloader, FrameZero, Empty, BootInfo, Package, }
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
Package
used for storing the supplied package
Trait Implementations
impl Debug for MemoryRegionType
[src]
impl Debug for MemoryRegionType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MemoryRegionType
[src]
impl Clone for MemoryRegionType
fn clone(&self) -> MemoryRegionType
[src]
fn clone(&self) -> MemoryRegionType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for MemoryRegionType
[src]
impl Copy for MemoryRegionType
impl PartialEq for MemoryRegionType
[src]
impl PartialEq for MemoryRegionType
fn eq(&self, other: &MemoryRegionType) -> bool
[src]
fn eq(&self, other: &MemoryRegionType) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for MemoryRegionType
[src]
impl Eq for MemoryRegionType
Auto Trait Implementations
impl Send for MemoryRegionType
impl Send for MemoryRegionType
impl Sync for MemoryRegionType
impl Sync for MemoryRegionType