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