Function tarpc::rpc::client::channel::new [−][src]
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>>,
Returns a channel and dispatcher that manages the lifecycle of requests initiated by the channel.