pub enum GuestAllocationMethod {
VirtualAlloc,
ExistingRegion,
PageTableMap,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GuestAllocationMethod
impl Clone for GuestAllocationMethod
Source§fn clone(&self) -> GuestAllocationMethod
fn clone(&self) -> GuestAllocationMethod
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 moreimpl Copy for GuestAllocationMethod
Source§impl Debug for GuestAllocationMethod
impl Debug for GuestAllocationMethod
Source§impl Default for GuestAllocationMethod
impl Default for GuestAllocationMethod
Source§fn default() -> GuestAllocationMethod
fn default() -> GuestAllocationMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GuestAllocationMethod
impl<'de> Deserialize<'de> for GuestAllocationMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GuestAllocationMethod
Source§impl PartialEq for GuestAllocationMethod
impl PartialEq for GuestAllocationMethod
Source§fn eq(&self, other: &GuestAllocationMethod) -> bool
fn eq(&self, other: &GuestAllocationMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GuestAllocationMethod
Auto Trait Implementations§
impl Freeze for GuestAllocationMethod
impl RefUnwindSafe for GuestAllocationMethod
impl Send for GuestAllocationMethod
impl Sync for GuestAllocationMethod
impl Unpin for GuestAllocationMethod
impl UnsafeUnpin for GuestAllocationMethod
impl UnwindSafe for GuestAllocationMethod
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.