Enum secure_serialisation::Error []

pub enum Error {
    Serialisation(SerialisationError),
    Crypto(()),
}

Error types.

Variants

Failure to serialize/deserialize data.

Failure to encrypt/decrypt data.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

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

impl From<SerialisationError> for Error

Performs the conversion.

impl From<()> for Error

Performs the conversion.