pub enum MemoryType {
Available = 1,
Reserved = 2,
ACPI = 3,
NVS = 4,
Defect = 5,
}
Expand description
Types that define if the memory is usable or not.
Variants§
Available = 1
memory, available to OS
Reserved = 2
reserved, not available (rom, mem map dev)
ACPI = 3
ACPI Reclaim Memory
NVS = 4
ACPI NVS Memory
Defect = 5
defective RAM modules
Trait Implementations§
Source§impl Debug for MemoryType
impl Debug for MemoryType
Source§impl PartialEq for MemoryType
impl PartialEq for MemoryType
impl Eq for MemoryType
impl StructuralPartialEq for MemoryType
Auto Trait Implementations§
impl Freeze for MemoryType
impl RefUnwindSafe for MemoryType
impl Send for MemoryType
impl Sync for MemoryType
impl Unpin for MemoryType
impl UnwindSafe for MemoryType
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