Enum sda_protocol::SdaErrorKind []

pub enum SdaErrorKind {
    Msg(String),
    SerdeJson(Error),
    PermissionDenied,
    InvalidCredentials,
    Invalid(String),
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl SdaErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for SdaErrorKind

Formats the value using the given formatter.

impl Display for SdaErrorKind

Formats the value using the given formatter. Read more

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

Performs the conversion.

impl From<String> for SdaErrorKind

Performs the conversion.

impl From<SdaError> for SdaErrorKind

Performs the conversion.