[][src]Enum qapi_spec::ErrorClass

pub enum ErrorClass {
    GenericError,
    CommandNotFound,
    DeviceNotActive,
    DeviceNotFound,
    KVMMissingCap,
}

Variants

GenericError

this is used for errors that don’t require a specific error class. This should be the default case for most errors

CommandNotFound

the requested command has not been found

DeviceNotActive

a device has failed to be become active

DeviceNotFound

the requested device has not been found

KVMMissingCap

the requested operation can’t be fulfilled because a required KVM capability is missing

Trait Implementations

impl Clone for ErrorClass[src]

impl Debug for ErrorClass[src]

impl<'de> Deserialize<'de> for ErrorClass[src]

impl Eq for ErrorClass[src]

impl From<ErrorClass> for ErrorKind[src]

impl Hash for ErrorClass[src]

impl Ord for ErrorClass[src]

impl PartialEq<ErrorClass> for ErrorClass[src]

impl PartialOrd<ErrorClass> for ErrorClass[src]

impl Serialize for ErrorClass[src]

impl StructuralEq for ErrorClass[src]

impl StructuralPartialEq for ErrorClass[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.