[][src]Trait essrpc::AsyncRPCClient

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

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 of transport used by this client.

Loading content...

Required methods

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

Loading content...

Implementors

Loading content...