Enum glitch_in_the_matrix::errors::MatrixErrorKind []

pub enum MatrixErrorKind {
    Msg(String),
    Hyper(Error),
    Serde(Error),
    UriError(UriError),
    Io(Error),
    Openssl(ErrorStack),
    HttpCode(StatusCode),
    BadRequest(BadRequestReply),
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl MatrixErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for MatrixErrorKind

Formats the value using the given formatter.

impl Display for MatrixErrorKind

Formats the value using the given formatter. Read more

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

Performs the conversion.

impl From<String> for MatrixErrorKind

Performs the conversion.

impl From<MatrixError> for MatrixErrorKind

Performs the conversion.