Function capnp_rpc::new_client
source ยท pub fn new_client<C, S>(s: S) -> Cwhere
C: FromServer<S>,
Expand description
Creates a new local RPC client of type C
out of an object that implements a server trait S
.
pub fn new_client<C, S>(s: S) -> Cwhere
C: FromServer<S>,
Creates a new local RPC client of type C
out of an object that implements a server trait S
.