Enum wallet_gen::error::Error
[−]
[src]
pub enum Error {
StaticMsg(&'static str),
Msg(String),
CoinNotSupported(Coin),
Io(Error),
OpenSsl(Either<Error, ErrorStack>),
}Enum that stores various possible error types when generating wallets.
Variants
StaticMsg(&'static str)Msg(String)CoinNotSupported(Coin)Io(Error)OpenSsl(Either<Error, ErrorStack>)
Trait Implementations
impl Debug for Error[src]
impl Error for Error[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>[src]
The lower-level cause of this error, if any. Read more
impl Display for Error[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<String> for Error[src]
impl From<&'static str> for Error[src]
impl From<Error> for Error[src]
impl From<Error> for Error[src]
impl From<ErrorStack> for Error[src]
fn from(error: ErrorStack) -> Self[src]
Performs the conversion.