pub enum DBusError {
Show 15 variants
SendMessage(Message),
AddMethodCall(ObjectPath),
DeleteMethodCall(Option<ObjectPath>),
ListMethodCall(ObjectPath),
AddMethodCallInterface(Interface),
DeleteMethodCallInterface(Option<Interface>),
AddSignal(ObjectPath),
DeleteSignal,
AddMatchRules(Vec<MatchRule>),
DeleteMatchRules,
ReceiveMessage(Option<Message>),
StreamError(StreamError),
DBusSessionBusAddress,
Hello(Error),
Close,
}
Variants§
SendMessage(Message)
AddMethodCall(ObjectPath)
DeleteMethodCall(Option<ObjectPath>)
ListMethodCall(ObjectPath)
AddMethodCallInterface(Interface)
DeleteMethodCallInterface(Option<Interface>)
AddSignal(ObjectPath)
DeleteSignal
AddMatchRules(Vec<MatchRule>)
DeleteMatchRules
ReceiveMessage(Option<Message>)
StreamError(StreamError)
DBusSessionBusAddress
Hello(Error)
Close
Trait Implementations§
Source§impl Error for DBusError
impl Error for DBusError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<TrySendError<Command>> for DBusError
impl From<TrySendError<Command>> for DBusError
Source§fn from(e: TrySendError<Command>) -> Self
fn from(e: TrySendError<Command>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DBusError
impl !RefUnwindSafe for DBusError
impl Send for DBusError
impl Sync for DBusError
impl Unpin for DBusError
impl !UnwindSafe for DBusError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more