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