File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const RPC_BLOB_GET_CHANNEL_CAP: usize = 2;
6262
6363impl < D : crate :: store:: Store > Blobs < D > {
6464 /// Get a client for the blobs protocol
65- pub fn client ( self : Arc < Self > ) -> blobs:: Client < MemConnector > {
65+ pub fn client ( self : Arc < Self > ) -> blobs:: MemClient {
6666 let client = self
6767 . rpc_handler
6868 . get_or_init ( || RpcHandler :: new ( & self ) )
Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ pub struct Client<C = BoxedConnector<RpcService>> {
111111 pub ( super ) rpc : RpcClient < RpcService , C > ,
112112}
113113
114+ /// Type alias for a memory-backed client.
115+ pub type MemClient = Client < crate :: rpc:: MemConnector > ;
116+
114117impl < C > Client < C >
115118where
116119 C : Connector < RpcService > ,
You can’t perform that action at this time.
0 commit comments