[][src]Trait essrpc::RPCClient

pub trait RPCClient {
    type TR: ClientTransport;
    fn new(transform: Self::TR) -> Self;
}

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.

Associated Types

type TR: ClientTransport

Type of transport used by this client.

Loading content...

Required methods

fn new(transform: Self::TR) -> Self

Loading content...

Implementors

Loading content...