GDBusError

Enum GDBusError 

Source
#[repr(C)]
pub enum GDBusError {
Show 45 variants Failed = 0, NoMemory = 1, ServiceUnknown = 2, NameHasNoOwner = 3, NoReply = 4, IoError = 5, BadAddress = 6, NotSupported = 7, LimitsExceeded = 8, AccessDenied = 9, AuthFailed = 10, NoServer = 11, Timeout = 12, NoNetwork = 13, AddressInUse = 14, Disconnected = 15, InvalidArgs = 16, FileNotFound = 17, FileExists = 18, UnknownMethod = 19, TimedOut = 20, MatchRuleNotFound = 21, MatchRuleInvalid = 22, SpawnExecFailed = 23, SpawnForkFailed = 24, SpawnChildExited = 25, SpawnChildSignaled = 26, SpawnFailed = 27, SpawnSetupFailed = 28, SpawnConfigInvalid = 29, SpawnServiceInvalid = 30, SpawnServiceNotFound = 31, SpawnPermissionsInvalid = 32, SpawnFileInvalid = 33, SpawnNoMemory = 34, UnixProcessIdUnknown = 35, InvalidSignature = 36, InvalidFileContent = 37, SelinuxSecurityContextUnknown = 38, AdtAuditDataUnknown = 39, ObjectPathInUse = 40, UnknownObject = 41, UnknownInterface = 42, UnknownProperty = 43, PropertyReadOnly = 44,
}

Variants§

§

Failed = 0

§

NoMemory = 1

§

ServiceUnknown = 2

§

NameHasNoOwner = 3

§

NoReply = 4

§

IoError = 5

§

BadAddress = 6

§

NotSupported = 7

§

LimitsExceeded = 8

§

AccessDenied = 9

§

AuthFailed = 10

§

NoServer = 11

§

Timeout = 12

§

NoNetwork = 13

§

AddressInUse = 14

§

Disconnected = 15

§

InvalidArgs = 16

§

FileNotFound = 17

§

FileExists = 18

§

UnknownMethod = 19

§

TimedOut = 20

§

MatchRuleNotFound = 21

§

MatchRuleInvalid = 22

§

SpawnExecFailed = 23

§

SpawnForkFailed = 24

§

SpawnChildExited = 25

§

SpawnChildSignaled = 26

§

SpawnFailed = 27

§

SpawnSetupFailed = 28

§

SpawnConfigInvalid = 29

§

SpawnServiceInvalid = 30

§

SpawnServiceNotFound = 31

§

SpawnPermissionsInvalid = 32

§

SpawnFileInvalid = 33

§

SpawnNoMemory = 34

§

UnixProcessIdUnknown = 35

§

InvalidSignature = 36

§

InvalidFileContent = 37

§

SelinuxSecurityContextUnknown = 38

§

AdtAuditDataUnknown = 39

§

ObjectPathInUse = 40

§

UnknownObject = 41

§

UnknownInterface = 42

§

UnknownProperty = 43

§

PropertyReadOnly = 44

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.