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
OK
InternalError
internal error
NoMemory
memory allocation failure
NoSupport
no support for this function
UnknownHost
could not resolve hostname
NoConnect
can't connect to hypervisor
InvalidConn
invalid connection object
InvalidDomain
invalid domain object
InvalidArg
invalid function argument
OperationFailed
a command to hypervisor failed
GetFailed
a HTTP GET command to failed
PostFailed
a HTTP POST command to failed
HttpError
unexpected HTTP error code
SexprSerial
failure to serialize an S-Expr
NoXen
could not open Xen hypervisor control
XenCall
failure doing an hypervisor call
OsType
unknown OS type
NoKernel
missing kernel information
NoRoot
missing root device information
NoSource
missing source device information
NoTarget
missing target device information
NoName
missing domain name information
NoOs
missing domain OS information
NoDevice
missing domain devices information
NoXenstore
could not open Xen Store control
DriverFull
too many drivers registered
CallFailed
not supported by the drivers (DEPRECATED)
XmlError
an XML description is not well formed or broken
DomExist
the domain already exist
OperationDenied
operation forbidden on read-only connections
OpenFailed
failed to open a conf file
ReadFailed
failed to read a conf file
ParseFailed
failed to parse a conf file
ConfSyntax
failed to parse the syntax of a conf file
WriteFailed
failed to write a conf file
XmlDetail
detail of an XML error
InvalidNetwork
invalid network object
NetworkExist
the network already exist
SystemError
general system call failure
Rpc
some sort of RPC error
GnutlsError
error from a GNUTLS call
VirWarNoNetwork
failed to start network
NoDomain
domain not found or unexpectedly disappeared
NoNetwork
network not found
InvalidMac
invalid MAC address
AuthFailed
authentication failed
InvalidStoragePool
invalid storage pool object
InvalidStorageVol
invalid storage vol object
VirWarNoStorage
failed to start storage
NoStoragePool
storage pool not found
NoStorageVol
storage volume not found
VirWarNoNode
failed to start node driver
InvalidNodeDevice
invalid node device object
NoNodeDevice
node device not found
NoSecurityModel
security model not found
OperationInvalid
operation is not applicable at this time
VirWarNoInterface
failed to start interface driver
NoInterface
interface driver not running
InvalidInterface
invalid interface object
MultipleInterfaces
more than one matching interface found
VirWarNoNwfilter
failed to start nwfilter driver
InvalidNwfilter
invalid nwfilter object
NoNwfilter
nw filter pool not found
BuildFirewall
nw filter pool not found
VirWarNoSecret
failed to start secret storage
InvalidSecret
invalid secret
NoSecret
secret not found
ConfigUnsupported
unsupported configuration construct
OperationTimeout
timeout occurred during operation
MigratePersistFailed
a migration worked, but making the VM persist on the dest host failed
HookScriptFailed
a synchronous hook script failed
InvalidDomainSnapshot
invalid domain snapshot
NoDomainSnapshot
domain snapshot not found
InvalidStream
stream pointer not valid
ArgumentUnsupported
valid API use but unsupported by the given driver
StorageProbeFailed
storage pool probe failed
StoragePoolBuilt
storage pool already built
SnapshotRevertRisky
force was not requested for a risky domain snapshot revert
OperationAborted
operation on a domain was canceled/aborted by user
AuthCancelled
authentication cancelled
NoDomainMetadata
The metadata is not present
MigrateUnsafe
Migration is not safe
Overflow
integer overflow
BlockCopyActive
action prevented by block copy job
OperationUnsupported
The requested operation is not supported
Ssh
error in ssh transport driver
AgentUnresponsive
guest agent is unresponsive, not running or not usable
ResourceBusy
resource is already in use
AccessDenied
operation on the object/resource was denied
DbusService
error from a dbus service
StorageVolExist
the storage vol already exists
CpuIncompatible
given CPU is incompatible with host CP
XmlInvalidSchema
XML document doesn't validate against schema
MigrateFinishOk
Finish API succeeded but it is expected to return NULL
authentication unavailable
NoServer
Server was not found
NoClient
Client was not found
AgentUnsynced
guest agent replies with wrong id to guest-sync command
Libssh
error in libssh transport driver
Trait Implementations
impl Debug for ErrorCode
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more