Enum monto::broker::NewBrokerErrorKind []

pub enum NewBrokerErrorKind {
    Msg(String),
    ServiceConnect(ServiceConnectErrorKind),
    Notify(NotifyError),
}

The kind of an error.

Variants

A convenient variant for String.

An error connecting to a service.

An error setting up the notifier.

Methods

impl NewBrokerErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for NewBrokerErrorKind

Formats the value using the given formatter.

impl Display for NewBrokerErrorKind

Formats the value using the given formatter. Read more

impl From<ServiceConnectErrorKind> for NewBrokerErrorKind

An error connecting to a service.

Performs the conversion.

impl<'a> From<&'a str> for NewBrokerErrorKind

Performs the conversion.

impl From<String> for NewBrokerErrorKind

Performs the conversion.

impl From<NewBrokerError> for NewBrokerErrorKind

Performs the conversion.