Struct dbus::arg::TypeMismatchError [−][src]
pub struct TypeMismatchError { /* fields omitted */ }
Expand description
Error struct to indicate a D-Bus argument type mismatch.
Might be returned from iter::read()
.
Implementations
The ArgType we were trying to read, but failed
The ArgType we should have been trying to read, if we wanted the read to succeed
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TypeMismatchError
impl Send for TypeMismatchError
impl Sync for TypeMismatchError
impl Unpin for TypeMismatchError
impl UnwindSafe for TypeMismatchError
Blanket Implementations
Mutably borrows from an owned value. Read more