pub fn connect_with_metadata<TClient, THandler, TMetadata>(
handler: THandler,
meta: TMetadata,
) -> (TClient, impl Future<Output = RpcResult<()>>)where
TClient: From<RpcChannel>,
TMetadata: Metadata + Unpin,
THandler: Deref<Target = MetaIoHandler<TMetadata>> + Unpin,
Expand description
Connects to a Deref<Target = MetaIoHandler<Metadata>
.