Trait ethers_core::abi::AbiEncode
source · [−]pub trait AbiEncode {
fn encode(self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn encode_hex(self) -> String
where
Self: Sized,
{ ... }
}
Expand description
Trait for ABI encoding
Required Methods
Provided Methods
fn encode_hex(self) -> String where
Self: Sized,
fn encode_hex(self) -> String where
Self: Sized,
Returns the encoded value as hex string, with a 0x
prefix