Function jsonrpc_client_transports::transports::local::connect
source · [−]pub fn connect<TClient, THandler, TMetadata>(
handler: THandler
) -> (TClient, impl Future<Item = (), Error = RpcError>) where
TClient: From<RpcChannel>,
THandler: Deref<Target = MetaIoHandler<TMetadata>>,
TMetadata: Metadata + Default,
Expand description
Connects to a Deref<Target = MetaIoHandler<Metadata + Default>
.