Enum ethkey::Error [−][src]
pub enum Error { InvalidSecret, InvalidPublic, InvalidAddress, InvalidSignature, InvalidMessage, Io(Error), Custom(String), }
Crypto error
Variants
InvalidSecret
Invalid secret key
InvalidPublic
Invalid public key
InvalidAddress
Invalid address
InvalidSignature
Invalid EC signature
InvalidMessage
Invalid AES message
Io(Error)
IO Error
Custom(String)
Custom
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
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Into<String> for Error
[src]
impl Into<String> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error