pub trait ABIDecodable: Sized {
    // Required method
    fn abi_decode(data: &[u8]) -> Result<Self, ABIDecodeError>;
}Expand description
A type implements ABIDecodable must be a tuple of types implement
ABIVariable. For convenient, for the tuple with only one element like
(U256,), we implement ABIDecodable for U256 instead.
Required Methods§
fn abi_decode(data: &[u8]) -> Result<Self, ABIDecodeError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.