Struct dbus::MethodErr [−][src]
pub struct MethodErr(_, _);
Expand description
A D-Bus Method Error, containing an error name and a description.
Unlike the “Error” struct, this is a Rust native struct.
Implementations
Create a MethodErr that the method failed in the way specified.
Create a MethodErr that the Object path was unknown.
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.
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
Performs the conversion.
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
Auto Trait Implementations
impl RefUnwindSafe for MethodErr
impl UnwindSafe for MethodErr
Blanket Implementations
Mutably borrows from an owned value. Read more