pub trait HostRefLoader<T: HostRef> {
// Required method
fn load(env: &HostEnv, address: Address) -> T;
}Expand description
Trait for loading a contract from the host environment.
Similar to Deployer, but does not deploy a new contract, but loads an existing one.
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.