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.