Enum medallion::error::Error[][src]

pub enum Error {
    Custom(String),
    Utf8(FromUtf8Error),
    Base64(DecodeError),
    JSON(Error),
    Crypto(ErrorStack),
}

Variants

Custom, Medallion specific errors.

String encoding errors.

Base64 encoding or decoding errors.

JSON parsing or stringifying errors.

Errors from RSA operations.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.

impl From<DecodeError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<ErrorStack> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error