Function jsonrpc_core_client::transports::local::connect
source · pub fn connect<TClient, THandler, TMetadata>(
handler: THandler
) -> (TClient, impl Future<Output = Result<(), RpcError>>)where
TClient: From<RpcChannel>,
TMetadata: Metadata + Default + Unpin,
THandler: Deref<Target = MetaIoHandler<TMetadata, Noop>> + Unpin,
Expand description
Connects to a Deref<Target = MetaIoHandler<Metadata + Default>
.