Function capnp_rpc::new_client

source ยท
pub fn new_client<C, S>(s: S) -> C
where C: FromServer<S>,
Expand description

Creates a new local RPC client of type C out of an object that implements a server trait S.