Trait essrpc::AsyncRPCClient [−][src]
pub trait AsyncRPCClient {
type TR: AsyncClientTransport;
fn new(transform: Self::TR) -> Self;
}
Expand description
Trait implemented by all RPC clients generated by the essrpc
macro when the async
parameter is used. For a trait named Foo
,
the macro will generate FooAsyncRPCClient
which implements both
AsyncRPCClient
and FooAsync
.
Associated Types
type TR: AsyncClientTransport
type TR: AsyncClientTransport
Type of transport used by this client.