pub trait SolResultEncode<'a> {
type SolType: SolTypeEncode;
const SOL_NAME: &'static str = <<Self::SolType as SolTypeEncode>::AlloyType as AlloySolType>::SOL_NAME;
// Required method
fn encode(&'a self) -> Vec<u8> ⓘ;
}
Expand description
Solidity ABI encode return data.
Provided Associated Constants§
Required Associated Types§
Sourcetype SolType: SolTypeEncode
type SolType: SolTypeEncode
Equivalent Solidity ABI type representation.
Required Methods§
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.