pub trait ProxyObjNew: ProxyObjBase {
type ProxyTo: ProxyObjBase;
// Required method
fn contract(self, address: ManagedAddress<Self::Api>) -> Self::ProxyTo;
}
Required Associated Types§
type ProxyTo: ProxyObjBase
Required Methods§
Sourcefn contract(self, address: ManagedAddress<Self::Api>) -> Self::ProxyTo
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.