multiversx_sc::contract_base

Trait ProxyObjNew

Source
pub trait ProxyObjNew: ProxyObjBase {
    type ProxyTo: ProxyObjBase;

    // Required method
    fn contract(self, address: ManagedAddress<Self::Api>) -> Self::ProxyTo;
}

Required Associated Types§

Required Methods§

Source

fn contract(self, address: ManagedAddress<Self::Api>) -> Self::ProxyTo

Specify the target contract to call. Not taken into account for deploys.

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§