#[repr(u32)]pub enum E820Type {
Ram = 1,
Reserved = 2,
Acpi = 3,
Nvs = 4,
Unusable = 5,
Pmem = 7,
Pram = 12,
SoftReserved = 4_026_531_839,
ReservedKern = 128,
}
Expand description
The E820 types known to the kernel.
Originally defined in the linux source tree:
linux/arch/x86/include/asm/e820/types.h
Variants§
Ram = 1
Reserved = 2
Acpi = 3
Nvs = 4
Unusable = 5
Pmem = 7
Pram = 12
SoftReserved = 4_026_531_839
ReservedKern = 128
Trait Implementations§
Auto Trait Implementations§
impl Freeze for E820Type
impl RefUnwindSafe for E820Type
impl Send for E820Type
impl Sync for E820Type
impl Unpin for E820Type
impl UnwindSafe for E820Type
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)