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