pub trait ContractClient<'a>: Sized {
// Required method
fn new(near: &'a Near, contract_id: AccountId) -> Self;
}Expand description
Trait for contract client constructors.
This trait is implemented by the generated client structs to enable
construction via Near::contract.
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.