Struct htrpc::RpcClient
[−]
[src]
pub struct RpcClient { /* fields omitted */ }
RPC Client.
Methods
impl RpcClient
[src]
fn new(server: SocketAddr) -> Self
[src]
Makes an RPC client which will communicate with the server
.
fn call<P>(&mut self, request: P::Request) -> Call<P> where
P: Procedure,
[src]
P: Procedure,
Issues an RPC request and returns the Future
which will result in the corresponding response.