pub trait SolParamsDecode:
SolDecode
+ Sized
+ Sealed {
const SOL_NAME: &'static str = <Self as SolDecode>::SOL_NAME;
// Required method
fn decode(data: &[u8]) -> Result<Self, Error>;
}
Expand description
Solidity ABI decode function parameters.
§Note
This trait is sealed and cannot be implemented for types outside ink_primitives
.
Provided Associated Constants§
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.