Enum ethstore::Error [−][src]
pub enum Error { Io(IoError), InvalidPassword, InvalidSecret, InvalidCryptoMeta, InvalidAccount, InvalidMessage, InvalidKeyFile(String), VaultsAreNotSupported, UnsupportedVault, InvalidVaultName, VaultNotFound, CreationFailed, EthKey(EthKeyError), EthKeyCrypto(Error), EthCrypto(EthCryptoError), Derivation(DerivationError), Custom(String), }
Account-related errors.
Variants
Io(IoError)
IO error
InvalidPassword
Invalid Password
InvalidSecret
Account's secret is invalid.
InvalidCryptoMeta
Invalid Vault Crypto meta.
InvalidAccount
Invalid Account.
InvalidMessage
Invalid Message.
InvalidKeyFile(String)
Invalid Key File
VaultsAreNotSupported
Vaults are not supported.
UnsupportedVault
Unsupported vault
InvalidVaultName
Invalid vault name
VaultNotFound
Vault not found
CreationFailed
Account creation failed.
EthKey(EthKeyError)
EthKey
error
EthKeyCrypto(Error)
ethkey::crypto::Error
EthCrypto(EthCryptoError)
EthCrypto
error
Derivation(DerivationError)
Derivation error
Custom(String)
Custom error
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<IoError> for Error
[src]
impl From<IoError> for Error
impl From<EthKeyError> for Error
[src]
impl From<EthKeyError> for Error
fn from(err: EthKeyError) -> Self
[src]
fn from(err: EthKeyError) -> Self
Performs the conversion.
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<EthCryptoError> for Error
[src]
impl From<EthCryptoError> for Error
fn from(err: EthCryptoError) -> Self
[src]
fn from(err: EthCryptoError) -> Self
Performs the conversion.
impl From<ScryptError> for Error
[src]
impl From<ScryptError> for Error
fn from(err: ScryptError) -> Self
[src]
fn from(err: ScryptError) -> Self
Performs the conversion.
impl From<SymmError> for Error
[src]
impl From<SymmError> for Error
impl From<DerivationError> for Error
[src]
impl From<DerivationError> for Error
fn from(err: DerivationError) -> Self
[src]
fn from(err: DerivationError) -> Self
Performs the conversion.