Struct htrpc::pool::RpcClientPoolHandle
[−]
[src]
pub struct RpcClientPoolHandle { /* fields omitted */ }
A handle for RpcClientPool
.
Methods
impl RpcClientPoolHandle
[src]
fn client(&self, addr: SocketAddr) -> PooledRpcClient
[src]
Acquires a RPC client from the pool.
If there is no avaialable pooled client, new client will be created.
Trait Implementations
impl Debug for RpcClientPoolHandle
[src]
impl Clone for RpcClientPoolHandle
[src]
fn clone(&self) -> RpcClientPoolHandle
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more