Enum libvirt_rpc::request::ErrorCode [] [src]

#[repr(u32)]
pub enum ErrorCode { OK, InternalError, NoMemory, NoSupport, UnknownHost, NoConnect, InvalidConn, InvalidDomain, InvalidArg, OperationFailed, GetFailed, PostFailed, HttpError, SexprSerial, NoXen, XenCall, OsType, NoKernel, NoRoot, NoSource, NoTarget, NoName, NoOs, NoDevice, NoXenstore, DriverFull, CallFailed, XmlError, DomExist, OperationDenied, OpenFailed, ReadFailed, ParseFailed, ConfSyntax, WriteFailed, XmlDetail, InvalidNetwork, NetworkExist, SystemError, Rpc, GnutlsError, VirWarNoNetwork, NoDomain, NoNetwork, InvalidMac, AuthFailed, InvalidStoragePool, InvalidStorageVol, VirWarNoStorage, NoStoragePool, NoStorageVol, VirWarNoNode, InvalidNodeDevice, NoNodeDevice, NoSecurityModel, OperationInvalid, VirWarNoInterface, NoInterface, InvalidInterface, MultipleInterfaces, VirWarNoNwfilter, InvalidNwfilter, NoNwfilter, BuildFirewall, VirWarNoSecret, InvalidSecret, NoSecret, ConfigUnsupported, OperationTimeout, MigratePersistFailed, HookScriptFailed, InvalidDomainSnapshot, NoDomainSnapshot, InvalidStream, ArgumentUnsupported, StorageProbeFailed, StoragePoolBuilt, SnapshotRevertRisky, OperationAborted, AuthCancelled, NoDomainMetadata, MigrateUnsafe, Overflow, BlockCopyActive, OperationUnsupported, Ssh, AgentUnresponsive, ResourceBusy, AccessDenied, DbusService, StorageVolExist, CpuIncompatible, XmlInvalidSchema, MigrateFinishOk, AuthUnavailable, NoServer, NoClient, AgentUnsynced, Libssh, }

Variants

internal error

memory allocation failure

no support for this function

could not resolve hostname

can't connect to hypervisor

invalid connection object

invalid domain object

invalid function argument

a command to hypervisor failed

a HTTP GET command to failed

a HTTP POST command to failed

unexpected HTTP error code

failure to serialize an S-Expr

could not open Xen hypervisor control

failure doing an hypervisor call

unknown OS type

missing kernel information

missing root device information

missing source device information

missing target device information

missing domain name information

missing domain OS information

missing domain devices information

could not open Xen Store control

too many drivers registered

not supported by the drivers (DEPRECATED)

an XML description is not well formed or broken

the domain already exist

operation forbidden on read-only connections

failed to open a conf file

failed to read a conf file

failed to parse a conf file

failed to parse the syntax of a conf file

failed to write a conf file

detail of an XML error

invalid network object

the network already exist

general system call failure

some sort of RPC error

error from a GNUTLS call

failed to start network

domain not found or unexpectedly disappeared

network not found

invalid MAC address

authentication failed

invalid storage pool object

invalid storage vol object

failed to start storage

storage pool not found

storage volume not found

failed to start node driver

invalid node device object

node device not found

security model not found

operation is not applicable at this time

failed to start interface driver

interface driver not running

invalid interface object

more than one matching interface found

failed to start nwfilter driver

invalid nwfilter object

nw filter pool not found

nw filter pool not found

failed to start secret storage

invalid secret

secret not found

unsupported configuration construct

timeout occurred during operation

a migration worked, but making the VM persist on the dest host failed

a synchronous hook script failed

invalid domain snapshot

domain snapshot not found

stream pointer not valid

valid API use but unsupported by the given driver

storage pool probe failed

storage pool already built

force was not requested for a risky domain snapshot revert

operation on a domain was canceled/aborted by user

authentication cancelled

The metadata is not present

Migration is not safe

integer overflow

action prevented by block copy job

The requested operation is not supported

error in ssh transport driver

guest agent is unresponsive, not running or not usable

resource is already in use

operation on the object/resource was denied

error from a dbus service

the storage vol already exists

given CPU is incompatible with host CP

XML document doesn't validate against schema

Finish API succeeded but it is expected to return NULL

authentication unavailable

Server was not found

Client was not found

guest agent replies with wrong id to guest-sync command

error in libssh transport driver

Trait Implementations

impl Debug for ErrorCode
[src]

[src]

Formats the value using the given formatter. Read more

impl From<i32> for ErrorCode
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ErrorCode

impl Sync for ErrorCode