multiversx_sc::contract_base

Trait CallableContractBuilder

Source
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§

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.

Implementors§