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
Msg(String)
A convenient variant for String.
Hyper(Error)
Serde(Error)
UriError(UriError)
Io(Error)
Openssl(ErrorStack)
HttpCode(StatusCode)
BadRequest(BadRequestReply)
Methods
impl MatrixErrorKind
fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl Debug for MatrixErrorKind
impl Display for MatrixErrorKind
impl<'a> From<&'a str> for MatrixErrorKind
impl From<String> for MatrixErrorKind
impl From<MatrixError> for MatrixErrorKind
fn from(e: MatrixError) -> Self
Performs the conversion.