Enum qapi_qmp::MemoryFailureRecipient
source · 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 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 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<MemoryFailureRecipient> for MemoryFailureRecipient
impl PartialEq<MemoryFailureRecipient> for MemoryFailureRecipient
source§fn eq(&self, other: &MemoryFailureRecipient) -> bool
fn eq(&self, other: &MemoryFailureRecipient) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MemoryFailureRecipient> for MemoryFailureRecipient
impl PartialOrd<MemoryFailureRecipient> for MemoryFailureRecipient
source§fn partial_cmp(&self, other: &MemoryFailureRecipient) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryFailureRecipient) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MemoryFailureRecipient
impl Serialize for MemoryFailureRecipient
impl Copy for MemoryFailureRecipient
impl Eq for MemoryFailureRecipient
impl StructuralEq for MemoryFailureRecipient
impl StructuralPartialEq for MemoryFailureRecipient
Auto Trait Implementations§
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