pub enum MemoryRegionPurpose {
Bios,
GuestMemoryRegion,
ProtectedFirmwareRegion,
ReservedMemory,
}Variants§
Bios
BIOS/firmware ROM
GuestMemoryRegion
General purpose guest memory
ProtectedFirmwareRegion
PVMFW
ReservedMemory
An area that should be backed by a GuestMemory region but reported as reserved to the guest.
Trait Implementations§
Source§impl Clone for MemoryRegionPurpose
impl Clone for MemoryRegionPurpose
Source§fn clone(&self) -> MemoryRegionPurpose
fn clone(&self) -> MemoryRegionPurpose
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryRegionPurpose
impl Debug for MemoryRegionPurpose
Source§impl Default for MemoryRegionPurpose
impl Default for MemoryRegionPurpose
Source§fn default() -> MemoryRegionPurpose
fn default() -> MemoryRegionPurpose
Returns the “default value” for a type. Read more
Source§impl Ord for MemoryRegionPurpose
impl Ord for MemoryRegionPurpose
Source§fn cmp(&self, other: &MemoryRegionPurpose) -> Ordering
fn cmp(&self, other: &MemoryRegionPurpose) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MemoryRegionPurpose
impl PartialEq for MemoryRegionPurpose
Source§impl PartialOrd for MemoryRegionPurpose
impl PartialOrd for MemoryRegionPurpose
impl Copy for MemoryRegionPurpose
impl Eq for MemoryRegionPurpose
impl StructuralPartialEq for MemoryRegionPurpose
Auto Trait Implementations§
impl Freeze for MemoryRegionPurpose
impl RefUnwindSafe for MemoryRegionPurpose
impl Send for MemoryRegionPurpose
impl Sync for MemoryRegionPurpose
impl Unpin for MemoryRegionPurpose
impl UnwindSafe for MemoryRegionPurpose
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