Struct dbus::tree::MethodErr [] [src]

pub struct MethodErr(_, _);

A D-Bus Method Error.

Methods

impl MethodErr
[src]

fn invalid_arg<T: Debug>(a: &T) -> MethodErr

Create an Invalid Args MethodErr.

fn no_arg() -> MethodErr

Create a MethodErr that there are not enough arguments given.

fn failed<T: Display>(a: &T) -> MethodErr

Create a MethodErr that the method failed in the way specified.

fn no_interface<T: Display>(a: &T) -> MethodErr

Create a MethodErr that the Interface was unknown.

fn no_property<T: Display>(a: &T) -> MethodErr

Create a MethodErr that the Property was unknown.

fn ro_property<T: Display>(a: &T) -> MethodErr

Create a MethodErr that the Property was read-only.

Trait Implementations

impl<T: Into<ErrorName<'static>>, M: Into<String>> From<(T, M)> for MethodErr
[src]

fn from((t, m): (T, M)) -> MethodErr

Derived Implementations

impl Eq for MethodErr
[src]

impl PartialEq for MethodErr
[src]

fn eq(&self, __arg_0: &MethodErr) -> bool

fn ne(&self, __arg_0: &MethodErr) -> bool

impl Ord for MethodErr
[src]

fn cmp(&self, __arg_0: &MethodErr) -> Ordering

impl PartialOrd for MethodErr
[src]

fn partial_cmp(&self, __arg_0: &MethodErr) -> Option<Ordering>

fn lt(&self, __arg_0: &MethodErr) -> bool

fn le(&self, __arg_0: &MethodErr) -> bool

fn gt(&self, __arg_0: &MethodErr) -> bool

fn ge(&self, __arg_0: &MethodErr) -> bool

impl Debug for MethodErr
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for MethodErr
[src]

fn clone(&self) -> MethodErr

fn clone_from(&mut self, source: &Self)
1.0.0