Enum threema_gateway::errors::CryptoError
[−]
pub enum CryptoError { BadKey(String), }
Crypto related errors.
Variants
BadKey(String)
Bad key
Trait Implementations
impl Debug for CryptoError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for CryptoError
impl Error for CryptoError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<String> for CryptoError
fn from(msg: String) -> CryptoError
Performs the conversion.