pub enum MemoryRegionType {
Usable,
Reserved,
AcpiReclaimable,
AcpiNvs,
BadMemory,
KernelAndModules,
BootloaderReclaimable,
Framebuffer,
Unknown(u32),
}Expand description
Memory region type from bootloader
Variants§
Usable
Usable RAM
Reserved
Reserved by firmware/BIOS
AcpiReclaimable
ACPI data that can be reclaimed
AcpiNvs
ACPI NVS memory
BadMemory
Bad memory
KernelAndModules
Kernel and modules
BootloaderReclaimable
Bootloader reclaimable
Framebuffer
Framebuffer
Unknown(u32)
Unknown type
Trait Implementations§
Source§impl Clone for MemoryRegionType
impl Clone for MemoryRegionType
Source§fn clone(&self) -> MemoryRegionType
fn clone(&self) -> MemoryRegionType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryRegionType
impl Debug for MemoryRegionType
Source§impl PartialEq for MemoryRegionType
impl PartialEq for MemoryRegionType
impl Copy for MemoryRegionType
impl Eq for MemoryRegionType
impl StructuralPartialEq for MemoryRegionType
Auto Trait Implementations§
impl Freeze for MemoryRegionType
impl RefUnwindSafe for MemoryRegionType
impl Send for MemoryRegionType
impl Sync for MemoryRegionType
impl Unpin for MemoryRegionType
impl UnwindSafe for MemoryRegionType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)