pub fn new<Req, Resp, C>(
config: Config,
transport: C
) -> NewClient<Channel<Req, Resp>, RequestDispatch<Req, Resp, C>>where
C: Transport<ClientMessage<Req>, Response<Resp>>,
Expand description
Returns a channel and dispatcher that manages the lifecycle of requests initiated by the channel.