pub trait MakeClient {
type Args;
type Client: ClientContract;
// Required method
fn make_client<A>(args: A) -> UniversalClient<Self::Client>
where Self::Args: From<A>;
}
Required Associated Types§
type Args
type Client: ClientContract
Required Methods§
fn make_client<A>(args: A) -> UniversalClient<Self::Client>
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.