Enum zbus::Error[][src]

pub enum Error {
    InterfaceNotFound,
    Address(String),
    Io(Error),
    Message(MessageError),
    Variant(VariantError),
    Handshake(String),
    InvalidReply,
    MethodError(StringOption<String>, Message),
    InvalidGUID,
    Unsupported,
    NoTLSConnection,
    NoTLSNode,
    FDO(Box<Error>),
}

The error type for zbus.

The various errors that can be reported by this crate.

Variants

InterfaceNotFound

Interface not found

Address(String)

Invalid D-Bus address.

Io(Error)

An I/O error.

Message(MessageError)

Message parsing error.

Variant(VariantError)

A zvariant error.

Handshake(String)

Initial handshake error.

InvalidReply

Unexpected or incorrect reply.

MethodError(StringOption<String>, Message)

A D-Bus method error reply.

InvalidGUID

Invalid D-Bus GUID.

Unsupported

Unsupported function, or support currently lacking.

NoTLSConnection
👎 Deprecated since 1.1.2:

No longer returned by any of our API

Thread-local connection is not set.

NoTLSNode
👎 Deprecated since 1.1.2:

No longer returned by any of our API

Thread-local node is not set.

FDO(Box<Error>)

A fdo::Error tranformed into Error.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Message> for Error[src]

impl From<MessageError> for Error[src]

impl PartialEq<Error> for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.