aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rpc_client.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-12-12 17:58:19 +0100
committerAlex Auvolat <alex@adnab.me>2020-12-12 17:58:19 +0100
commit8956db2a81c3700b62c5208cff2ca4b0b124c328 (patch)
tree72c550743a4820cdc2f56eb1598a0b78c3a2522e /src/rpc/rpc_client.rs
parente72c6d05753d6c3eb306622a56aefa96986c71af (diff)
downloadgarage-8956db2a81c3700b62c5208cff2ca4b0b124c328.tar.gz
garage-8956db2a81c3700b62c5208cff2ca4b0b124c328.zip
Make less things public
Diffstat (limited to 'src/rpc/rpc_client.rs')
-rw-r--r--src/rpc/rpc_client.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/rpc_client.rs b/src/rpc/rpc_client.rs
index 6119696d..5183bb4b 100644
--- a/src/rpc/rpc_client.rs
+++ b/src/rpc/rpc_client.rs
@@ -61,7 +61,7 @@ pub struct RpcClient<M: RpcMessage> {
local_handler: ArcSwapOption<(UUID, LocalHandlerFn<M>)>,
- pub rpc_addr_client: RpcAddrClient<M>,
+ rpc_addr_client: RpcAddrClient<M>,
}
impl<M: RpcMessage + 'static> RpcClient<M> {
@@ -215,8 +215,8 @@ impl<M: RpcMessage + 'static> RpcClient<M> {
pub struct RpcAddrClient<M: RpcMessage> {
phantom: PhantomData<M>,
- pub http_client: Arc<RpcHttpClient>,
- pub path: String,
+ http_client: Arc<RpcHttpClient>,
+ path: String,
}
impl<M: RpcMessage> RpcAddrClient<M> {