Enum emerald_rs::keystore::Error
[−]
[src]
pub enum Error { UnsupportedCipher(String), UnsupportedKdf(String), UnsupportedPrf(String), FailedMacValidation, CoreFault(Error), InvalidKdfDepth(String), InvalidCrypto(String), }
Keystore file errors
Variants
UnsupportedCipher(String)
An unsupported cipher
UnsupportedKdf(String)
An unsupported key derivation function
UnsupportedPrf(String)
An unsupported pseudo-random function
FailedMacValidation
keccak256_mac
field validation failed
CoreFault(Error)
Core module error wrapper
InvalidKdfDepth(String)
Invalid Kdf depth value
InvalidCrypto(String)
Invalid crypto type
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more