Enum qapi::ErrorClass[][src]

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

Variants

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

the requested command has not been found

a device has failed to be become active

the requested device has not been found

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

Trait Implementations

impl Eq for ErrorClass
[src]

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ErrorClass
[src]

Serialize this value into the given Serde serializer. Read more

impl From<ErrorClass> for ErrorKind
[src]

Performs the conversion.

impl PartialEq<ErrorClass> for ErrorClass
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ErrorClass
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd<ErrorClass> for ErrorClass
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for ErrorClass
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for ErrorClass
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ErrorClass
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ErrorClass

impl Sync for ErrorClass