Enum qapi_qmp::StatsTarget
source · pub enum StatsTarget {
vm,
vcpu,
cryptodev,
}
Variants§
Trait Implementations§
source§impl Clone for StatsTarget
impl Clone for StatsTarget
source§fn clone(&self) -> StatsTarget
fn clone(&self) -> StatsTarget
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 StatsTarget
impl Debug for StatsTarget
source§impl<'de> Deserialize<'de> for StatsTarget
impl<'de> Deserialize<'de> for StatsTarget
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 StatsTarget
impl Enum for StatsTarget
source§impl FromStr for StatsTarget
impl FromStr for StatsTarget
source§impl Hash for StatsTarget
impl Hash for StatsTarget
source§impl Ord for StatsTarget
impl Ord for StatsTarget
source§fn cmp(&self, other: &StatsTarget) -> Ordering
fn cmp(&self, other: &StatsTarget) -> 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<StatsTarget> for StatsTarget
impl PartialEq<StatsTarget> for StatsTarget
source§fn eq(&self, other: &StatsTarget) -> bool
fn eq(&self, other: &StatsTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<StatsTarget> for StatsTarget
impl PartialOrd<StatsTarget> for StatsTarget
source§fn partial_cmp(&self, other: &StatsTarget) -> Option<Ordering>
fn partial_cmp(&self, other: &StatsTarget) -> 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 StatsTarget
impl Serialize for StatsTarget
impl Copy for StatsTarget
impl Eq for StatsTarget
impl StructuralEq for StatsTarget
impl StructuralPartialEq for StatsTarget
Auto Trait Implementations§
impl RefUnwindSafe for StatsTarget
impl Send for StatsTarget
impl Sync for StatsTarget
impl Unpin for StatsTarget
impl UnwindSafe for StatsTarget
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