Enum zbus::fdo::Error [−][src]
pub enum Error {}Show 49 variants
ZBus(Error), Failed(String), NoMemory(String), ServiceUnknown(String), NameHasNoOwner(String), NoReply(String), IOError(String), BadAddress(String), NotSupported(String), LimitsExceeded(String), AccessDenied(String), AuthFailed(String), NoServer(String), Timeout(String), NoNetwork(String), AddressInUse(String), Disconnected(String), InvalidArgs(String), FileNotFound(String), FileExists(String), UnknownMethod(String), UnknownObject(String), UnknownInterface(String), UnknownProperty(String), PropertyReadOnly(String), TimedOut(String), MatchRuleNotFound(String), MatchRuleInvalid(String), SpawnExecFailed(String), SpawnForkFailed(String), SpawnChildExited(String), SpawnChildSignaled(String), SpawnFailed(String), SpawnFailedToSetup(String), SpawnConfigInvalid(String), SpawnServiceNotValid(String), SpawnServiceNotFound(String), SpawnPermissionsInvalid(String), SpawnFileInvalid(String), SpawnNoMemory(String), UnixProcessIdUnknown(String), InvalidSignature(String), InvalidFileContent(String), SELinuxSecurityContextUnknown(String), AdtAuditDataUnknown(String), ObjectPathInUse(String), InconsistentMessage(String), InteractiveAuthorizationRequired(String), NotContainer(String),
Expand description
Variants
Unknown or fall-through ZBus error.
Tuple Fields of ZBus
0: Error
A generic error; “something went wrong” - see the error message for more.
Tuple Fields of Failed
0: String
There was not enough memory to complete an operation.
Tuple Fields of NoMemory
0: String
The bus doesn’t know how to launch a service to supply the bus name you wanted.
Tuple Fields of ServiceUnknown
0: String
The bus name you referenced doesn’t exist (i.e. no application owns it).
Tuple Fields of NameHasNoOwner
0: String
No reply to a message expecting one, usually means a timeout occurred.
Tuple Fields of NoReply
0: String
Something went wrong reading or writing to a socket, for example.
Tuple Fields of IOError
0: String
A D-Bus bus address was malformed.
Tuple Fields of BadAddress
0: String
Requested operation isn’t supported (like ENOSYS on UNIX).
Tuple Fields of NotSupported
0: String
Some limited resource is exhausted.
Tuple Fields of LimitsExceeded
0: String
Security restrictions don’t allow doing what you’re trying to do.
Tuple Fields of AccessDenied
0: String
Authentication didn’t work.
Tuple Fields of AuthFailed
0: String
Unable to connect to server (probably caused by ECONNREFUSED on a socket).
Tuple Fields of NoServer
0: String
Certain timeout errors, possibly ETIMEDOUT on a socket.
Note that TimedOut
is used for message reply timeouts.
Tuple Fields of Timeout
0: String
No network access (probably ENETUNREACH on a socket).
Tuple Fields of NoNetwork
0: String
Can’t bind a socket since its address is in use (i.e. EADDRINUSE).
Tuple Fields of AddressInUse
0: String
The connection is disconnected and you’re trying to use it.
Tuple Fields of Disconnected
0: String
Invalid arguments passed to a method call.
Tuple Fields of InvalidArgs
0: String
Missing file.
Tuple Fields of FileNotFound
0: String
Existing file and the operation you’re using does not silently overwrite.
Tuple Fields of FileExists
0: String
Method name you invoked isn’t known by the object you invoked it on.
Tuple Fields of UnknownMethod
0: String
Object you invoked a method on isn’t known.
Tuple Fields of UnknownObject
0: String
Interface you invoked a method on isn’t known by the object.
Tuple Fields of UnknownInterface
0: String
Property you tried to access isn’t known by the object.
Tuple Fields of UnknownProperty
0: String
Property you tried to set is read-only.
Tuple Fields of PropertyReadOnly
0: String
Certain timeout errors, e.g. while starting a service.
Tuple Fields of TimedOut
0: String
Tried to remove or modify a match rule that didn’t exist.
Tuple Fields of MatchRuleNotFound
0: String
The match rule isn’t syntactically valid.
Tuple Fields of MatchRuleInvalid
0: String
While starting a new process, the exec() call failed.
Tuple Fields of SpawnExecFailed
0: String
While starting a new process, the fork() call failed.
Tuple Fields of SpawnForkFailed
0: String
While starting a new process, the child exited with a status code.
Tuple Fields of SpawnChildExited
0: String
While starting a new process, the child exited on a signal.
Tuple Fields of SpawnChildSignaled
0: String
While starting a new process, something went wrong.
Tuple Fields of SpawnFailed
0: String
We failed to setup the environment correctly.
Tuple Fields of SpawnFailedToSetup
0: String
We failed to setup the config parser correctly.
Tuple Fields of SpawnConfigInvalid
0: String
Bus name was not valid.
Tuple Fields of SpawnServiceNotValid
0: String
Service file not found in system-services directory.
Tuple Fields of SpawnServiceNotFound
0: String
Permissions are incorrect on the setuid helper.
Tuple Fields of SpawnPermissionsInvalid
0: String
Service file invalid (Name, User or Exec missing).
Tuple Fields of SpawnFileInvalid
0: String
There was not enough memory to complete the operation.
Tuple Fields of SpawnNoMemory
0: String
Tried to get a UNIX process ID and it wasn’t available.
Tuple Fields of UnixProcessIdUnknown
0: String
A type signature is not valid.
Tuple Fields of InvalidSignature
0: String
A file contains invalid syntax or is otherwise broken.
Tuple Fields of InvalidFileContent
0: String
Asked for SELinux security context and it wasn’t available.
Tuple Fields of SELinuxSecurityContextUnknown
0: String
Asked for ADT audit data and it wasn’t available.
Tuple Fields of AdtAuditDataUnknown
0: String
There’s already an object with the requested object path.
Tuple Fields of ObjectPathInUse
0: String
The message meta data does not match the payload. e.g. expected number of file descriptors were not sent over the socket this message was received on.
Tuple Fields of InconsistentMessage
0: String
The message is not allowed without performing interactive authorization, but could have succeeded if an interactive authorization step was allowed.
Tuple Fields of InteractiveAuthorizationRequired
0: String
The connection is not from a container, or the specified container instance does not exist.
Tuple Fields of NotContainer
0: String