Function tetsy_jsonrpc_client_transports::transports::duplex::duplex[][src]

pub fn duplex<TSink, TStream>(
    sink: TSink,
    stream: TStream
) -> (Duplex<TSink, TStream>, RpcChannel)

Creates a new Duplex, along with a channel to communicate