Enum parables_testing::prelude::ethabi::ErrorKind [−]
pub enum ErrorKind {
Msg(String),
SerdeJson(Error),
ParseInt(ParseIntError),
Utf8(FromUtf8Error),
Hex(FromHexError),
InvalidName(String),
InvalidData,
// some variants omitted
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
SerdeJson(Error)ParseInt(ParseIntError)Utf8(FromUtf8Error)Hex(FromHexError)InvalidName(String)InvalidData
Methods
impl ErrorKind
impl ErrorKindpub fn description(&self) -> &str
pub fn description(&self) -> &strA string describing the error kind.
Trait Implementations
impl Display for ErrorKind
impl Display for ErrorKindfn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'a> From<&'a str> for ErrorKind
impl<'a> From<&'a str> for ErrorKindimpl From<ErrorKind> for Error
impl From<ErrorKind> for Errorimpl From<String> for ErrorKind
impl From<String> for ErrorKindimpl From<Error> for ErrorKind
impl From<Error> for ErrorKindimpl Debug for ErrorKind
impl Debug for ErrorKind