jsonrpc_client_transports::transports::local

Function connect

Source
pub fn connect<TClient, THandler, TMetadata>(
    handler: THandler,
) -> (TClient, impl Future<Output = RpcResult<()>>)
where TClient: From<RpcChannel>, TMetadata: Metadata + Default + Unpin, THandler: Deref<Target = MetaIoHandler<TMetadata>> + Unpin,
Expand description

Connects to a Deref<Target = MetaIoHandler<Metadata + Default>.