pub trait Callable<C: Call>: Contract {
// Required method
fn call(&mut self, call: Msg<C>) -> ResultWithPostInfoOf<Self, Vec<u8>>;
}Expand description
Type callable with ethereum message, may be implemented by solidity_interface macro
on interface implementation, or for externally-owned real EVM contract
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".