#[repr(u8)]pub enum VmMemMappingType {
MapAlloc = 0,
MapIdentical = 1,
MapReserved = 2,
}Expand description
The type of memory mapping used for VM memory regions.
Variants§
MapAlloc = 0
The memory region is allocated by the VM monitor.
MapIdentical = 1
The memory region is identical to the host physical memory region.
MapReserved = 2
The memory region is reserved memory for the guest OS.
Trait Implementations§
Source§impl Clone for VmMemMappingType
impl Clone for VmMemMappingType
Source§fn clone(&self) -> VmMemMappingType
fn clone(&self) -> VmMemMappingType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VmMemMappingType
impl Debug for VmMemMappingType
Source§impl Default for VmMemMappingType
impl Default for VmMemMappingType
Source§fn default() -> VmMemMappingType
fn default() -> VmMemMappingType
Returns the “default value” for a type. Read more
impl Eq for VmMemMappingType
Source§impl PartialEq for VmMemMappingType
impl PartialEq for VmMemMappingType
Source§fn eq(&self, other: &VmMemMappingType) -> bool
fn eq(&self, other: &VmMemMappingType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VmMemMappingType
Auto Trait Implementations§
impl Freeze for VmMemMappingType
impl RefUnwindSafe for VmMemMappingType
impl Send for VmMemMappingType
impl Sync for VmMemMappingType
impl Unpin for VmMemMappingType
impl UnsafeUnpin for VmMemMappingType
impl UnwindSafe for VmMemMappingType
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