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 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 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 for StatsTarget
impl PartialEq for StatsTarget
Source§impl PartialOrd for StatsTarget
impl PartialOrd for StatsTarget
Source§impl Serialize for StatsTarget
impl Serialize for StatsTarget
impl Copy for StatsTarget
impl Eq for StatsTarget
impl StructuralPartialEq for StatsTarget
Auto Trait Implementations§
impl Freeze for StatsTarget
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