pub fn connect_with_metadata<TClient, THandler, TMetadata>(
    handler: THandler,
    meta: TMetadata
) -> (TClient, impl Future<Output = Result<(), RpcError>>)where
    TClient: From<RpcChannel>,
    TMetadata: Metadata + Unpin,
    THandler: Deref<Target = MetaIoHandler<TMetadata, Noop>> + Unpin,
Expand description

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