Trait essrpc::RPCClient

source ·
pub trait RPCClient {
    type TR: Transport;

    fn new(transform: Self::TR) -> Self;
}
Expand description

Trait implemented by all RPC clients generated by the essrpc macro. For a trait named Foo, the macro will generate FooRPCClient which implements both RPCClient and Foo.

Required Associated Types§

Type of transport used by this client.

Required Methods§

Implementors§