Trait ethers_core::abi::AbiDecode
source · pub trait AbiDecode: Sized {
// Required method
fn decode(bytes: impl AsRef<[u8]>) -> Result<Self, AbiError>;
// Provided method
fn decode_hex(data: impl AsRef<str>) -> Result<Self, AbiError> { ... }
}
Expand description
Trait for ABI decoding
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.