pub trait ContractClient {
const INTERFACE_ID: InterfaceId;
// Required method
fn new(address: &ContractAddress) -> Self;
}Required Associated Constants§
Sourceconst INTERFACE_ID: InterfaceId
const INTERFACE_ID: InterfaceId
The id of the interface this client calls, matching that interface’s
INTERFACE_ID.
Required Methods§
fn new(address: &ContractAddress) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".