pub trait CallableContractBuilder {
// Required method
fn new_contract_obj<A: VMApi + Send + Sync>(
&self,
) -> Box<dyn CallableContract>;
}
Expand description
Describes objects that can create instances of contract objects, with the given API.
Required Methods§
fn new_contract_obj<A: VMApi + Send + Sync>(&self) -> Box<dyn CallableContract>
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.