Enum qapi_spec::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 Debug for ErrorClass
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ErrorClass
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<ErrorClass> for ErrorKind
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ErrorClass

impl Sync for ErrorClass