Enum ethers::abi::Error [−]
pub enum Error {
InvalidName(String),
InvalidData,
SerdeJson(Error),
ParseInt(ParseIntError),
Hex(FromHexError),
Other(Error),
}
Expand description
Ethabi errors
Variants
InvalidName(String)
Tuple Fields
0: String
Invalid entity such as a bad function name.
InvalidData
Invalid data.
SerdeJson(Error)
Tuple Fields
0: Error
Serialization error.
ParseInt(ParseIntError)
Tuple Fields
Integer parsing error.
Hex(FromHexError)
Tuple Fields
0: FromHexError
Hex string parsing error.
Other(Error)
Tuple Fields
0: Error
Other errors.
Trait Implementations
Performs the conversion.
Performs the conversion.
impl From<FromDecStrErr> for Error
impl From<FromDecStrErr> for Error
pub fn from(err: FromDecStrErr) -> Error
pub fn from(err: FromDecStrErr) -> Error
Performs the conversion.
impl From<FromHexError> for Error
impl From<FromHexError> for Error
pub fn from(source: FromHexError) -> Error
pub fn from(source: FromHexError) -> Error
Performs the conversion.
impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
pub fn from(source: ParseIntError) -> Error
pub fn from(source: ParseIntError) -> Error
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more