pub enum MemoryFailureRecipient {
hypervisor,
guest,
}
Variants§
Trait Implementations§
Source§impl Clone for MemoryFailureRecipient
impl Clone for MemoryFailureRecipient
Source§fn clone(&self) -> MemoryFailureRecipient
fn clone(&self) -> MemoryFailureRecipient
Returns a duplicate 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 MemoryFailureRecipient
impl Debug for MemoryFailureRecipient
Source§impl<'de> Deserialize<'de> for MemoryFailureRecipient
impl<'de> Deserialize<'de> for MemoryFailureRecipient
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
Source§impl Enum for MemoryFailureRecipient
impl Enum for MemoryFailureRecipient
Source§impl FromStr for MemoryFailureRecipient
impl FromStr for MemoryFailureRecipient
Source§impl Hash for MemoryFailureRecipient
impl Hash for MemoryFailureRecipient
Source§impl Ord for MemoryFailureRecipient
impl Ord for MemoryFailureRecipient
Source§fn cmp(&self, other: &MemoryFailureRecipient) -> Ordering
fn cmp(&self, other: &MemoryFailureRecipient) -> 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 MemoryFailureRecipient
impl PartialEq for MemoryFailureRecipient
Source§impl PartialOrd for MemoryFailureRecipient
impl PartialOrd for MemoryFailureRecipient
Source§impl Serialize for MemoryFailureRecipient
impl Serialize for MemoryFailureRecipient
impl Copy for MemoryFailureRecipient
impl Eq for MemoryFailureRecipient
impl StructuralPartialEq for MemoryFailureRecipient
Auto Trait Implementations§
impl Freeze for MemoryFailureRecipient
impl RefUnwindSafe for MemoryFailureRecipient
impl Send for MemoryFailureRecipient
impl Sync for MemoryFailureRecipient
impl Unpin for MemoryFailureRecipient
impl UnwindSafe for MemoryFailureRecipient
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