Enum libpasta::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Deserialize(Error), Ring(Unspecified), Serialize(Error), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Deserialize(Error)
Errors from deserializing MCF password hashes.
Ring(Unspecified)
Errors originiating from ring
Serialize(Error)
Errors from serializing to a MCF password hash.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.