Struct dbus::Error [] [src]

pub struct Error {
    // some fields omitted
}

D-Bus Error wrapper

Methods

impl Error
[src]

fn new_custom(name: &str, message: &str) -> Error

Create a new custom D-Bus Error.

fn name(&self) -> Option<&str>

Error name/type, e g 'org.freedesktop.DBus.Error.Failed'

fn message(&self) -> Option<&str>

Custom message, e g 'Could not find a matching object path'

Trait Implementations

impl Send for Error
[src]

impl Drop for Error
[src]

fn drop(&mut self)

impl Debug for Error
[src]

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

impl Error for Error
[src]

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>
1.0.0

impl Display for Error
[src]

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