Enum eth_keystore::KeystoreError [−][src]
pub enum KeystoreError { MacMismatch, StdIo(String), SerdeJson(String), ScryptInvalidParams(InvalidParams), ScryptInvalidOuputLen(InvalidOutputLen), AesInvalidKeyNonceLength(InvalidLength), }
Expand description
An error thrown when interacting with the eth-keystore crate.
Variants
An error thrown while decrypting an encrypted JSON keystore if the calculated MAC does not match the MAC declared in the keystore.
StdIo(String)
An error thrown by the Rust std::io
module.
SerdeJson(String)
An error thrown by the Serde JSON crate.
ScryptInvalidParams(InvalidParams)
Invalid scrypt output length
ScryptInvalidOuputLen(InvalidOutputLen)
Invalid scrypt output length
Invalid aes key nonce length
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for KeystoreError
impl Send for KeystoreError
impl Sync for KeystoreError
impl Unpin for KeystoreError
impl UnwindSafe for KeystoreError