Enum terra_rust_api::errors::ErrorKind [−][src]
pub enum ErrorKind {
Show variants
ReqwestError(Error),
SerdeJsonError(Error),
HexError(FromHexError),
ParseIntError(ParseIntError),
Secp256k1(Error),
Bip32(Error),
Msg(String),
Terra(String),
Bech32DecodeErr,
Phrasing,
Implementation,
Conversion(String),
NoGasOpts,
// some variants omitted
}The kind of an error.
Variants
ReqwestError(Error)SerdeJsonError(Error)HexError(FromHexError)ParseIntError(ParseIntError)Bip32(Error)Msg(String)A convenient variant for String.
Terra(String)Conversion(String)Implementations
impl ErrorKind[src]
impl ErrorKind[src]pub fn description(&self) -> &str[src]
A string describing the error kind.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl !RefUnwindSafe for ErrorKindimpl !UnwindSafe for ErrorKind
impl !UnwindSafe for ErrorKindBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self