Enum ethkey::Error [−][src]
pub enum Error {
InvalidSecret,
InvalidPublic,
InvalidAddress,
InvalidSignature,
InvalidMessage,
Io(Error),
Custom(String),
}Crypto error
Variants
InvalidSecretInvalid secret key
InvalidPublicInvalid public key
InvalidAddressInvalid address
InvalidSignatureInvalid EC signature
InvalidMessageInvalid AES message
Io(Error)IO Error
Custom(String)Custom
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for Error[src]
impl Error for Errorfn description(&self) -> &str[src]
fn description(&self) -> &strThis 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 Errorimpl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Error