Enum ErrorDomain

Source
#[repr(u32)]
pub enum ErrorDomain {
Show 67 variants None = 0, Xen = 1, Xend = 2, Xenstore = 3, Sexpr = 4, Xml = 5, Dom = 6, Rpc = 7, Proxy = 8, Conf = 9, Qemu = 10, Net = 11, Test = 12, Remote = 13, Openvz = 14, Xenxm = 15, StatsLinux = 16, Lxc = 17, Storage = 18, Network = 19, Domain = 20, Uml = 21, Nodedev = 22, XenInotify = 23, Security = 24, Vbox = 25, Interface = 26, One = 27, Esx = 28, Phyp = 29, Secret = 30, Cpu = 31, Xenapi = 32, Nwfilter = 33, Hook = 34, DomainSnapshot = 35, Audit = 36, Sysinfo = 37, Streams = 38, Vmware = 39, Event = 40, Libxl = 41, Locking = 42, Hyperv = 43, Capabilities = 44, Uri = 45, Auth = 46, Dbus = 47, Parallels = 48, Device = 49, Ssh = 50, Lockspace = 51, Initctl = 52, Identity = 53, Cgroup = 54, Access = 55, Systemd = 56, Bhyve = 57, Crypto = 58, Firewall = 59, Polkit = 60, Thread = 61, Admin = 62, Logging = 63, Xenxl = 64, Perf = 65, Libssh = 66,
}

Variants§

§

None = 0

§

Xen = 1

Error at Xen hypervisor layer

§

Xend = 2

Error at connection with xend daemon

§

Xenstore = 3

Error at connection with xen store

§

Sexpr = 4

Error in the S-Expression code

§

Xml = 5

Error in the XML code

§

Dom = 6

Error when operating on a domain

§

Rpc = 7

Error in the XML-RPC code

§

Proxy = 8

Error in the proxy code; unused since 0.8.6

§

Conf = 9

Error in the configuration file handling

§

Qemu = 10

Error at the QEMU daemon

§

Net = 11

Error when operating on a network

§

Test = 12

Error from test driver

§

Remote = 13

Error from remote driver

§

Openvz = 14

Error from OpenVZ driver

§

Xenxm = 15

Error at Xen XM layer

§

StatsLinux = 16

Error in the Linux Stats code

§

Lxc = 17

Error from Linux Container driver

§

Storage = 18

Error from storage driver

§

Network = 19

Error from network config

§

Domain = 20

Error from domain config

§

Uml = 21

Error at the UML driver

§

Nodedev = 22

Error from node device monitor

§

XenInotify = 23

Error from xen inotify layer

§

Security = 24

Error from security framework

§

Vbox = 25

Error from VirtualBox driver

§

Interface = 26

Error when operating on an interface

§

One = 27

The OpenNebula driver no longer exists. Retained for ABI/API compat only

§

Esx = 28

Error from ESX driver

§

Phyp = 29

Error from IBM power hypervisor

§

Secret = 30

Error from secret storage

§

Cpu = 31

Error from CPU driver

§

Xenapi = 32

Error from XenAPI

§

Nwfilter = 33

Error from network filter driver

§

Hook = 34

Error from Synchronous hooks

§

DomainSnapshot = 35

Error from domain snapshot

§

Audit = 36

Error from auditing subsystem

§

Sysinfo = 37

Error from sysinfo/SMBIOS

§

Streams = 38

Error from I/O streams

§

Vmware = 39

Error from VMware driver

§

Event = 40

Error from event loop impl

§

Libxl = 41

Error from libxenlight driver

§

Locking = 42

Error from lock manager

§

Hyperv = 43

Error from Hyper-V driver

§

Capabilities = 44

Error from capabilities

§

Uri = 45

Error from URI handling

§

Auth = 46

Error from auth handling

§

Dbus = 47

Error from DBus

§

Parallels = 48

Error from Parallels

§

Device = 49

Error from Device

§

Ssh = 50

Error from libssh2 connection transport

§

Lockspace = 51

Error from lockspace

§

Initctl = 52

Error from initctl device communication

§

Identity = 53

Error from identity code

§

Cgroup = 54

Error from cgroups

§

Access = 55

Error from access control manager

§

Systemd = 56

Error from systemd code

§

Bhyve = 57

Error from bhyve driver

§

Crypto = 58

Error from crypto code

§

Firewall = 59

Error from firewall

§

Polkit = 60

Error from polkit code

§

Thread = 61

Error from thread utils

§

Admin = 62

Error from admin backend

§

Logging = 63

Error from log manager

§

Xenxl = 64

Error from Xen xl config code

§

Perf = 65

Error from perf

§

Libssh = 66

Error from libssh connection transport

Trait Implementations§

Source§

impl Debug for ErrorDomain

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<i32> for ErrorDomain

Source§

fn from(v: i32) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.