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

pub struct MethodErr(_, _);

A D-Bus Method Error, containing an error name and a description.

Methods

impl MethodErr
[src]

Create an Invalid Args MethodErr.

Create a MethodErr that there are not enough arguments given.

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

Create a MethodErr that the Interface was unknown.

Create a MethodErr that the Method was unknown.

Create a MethodErr that the Property was unknown.

Create a MethodErr that the Property was read-only.

Error name accessor

Description accessor

Creates an error reply from a method call message.

Note: You normally don't need to use this function, as it is called internally from Tree::handle.

Trait Implementations

impl Clone for MethodErr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MethodErr
[src]

Formats the value using the given formatter. Read more

impl PartialOrd for MethodErr
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for MethodErr
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialEq for MethodErr
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MethodErr
[src]

impl From<TypeMismatchError> for MethodErr
[src]

Performs the conversion.

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

Performs the conversion.

impl From<dbusError> for MethodErr
[src]

Performs the conversion.

impl From<MethodErr> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for MethodErr

impl Sync for MethodErr