Function capnp_rpc::new_client [−][src]
pub fn new_client<C, S>(s: S) -> C where
C: FromServer<S>,
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) -> C where
C: FromServer<S>,
Creates a new local RPC client of type C
out of an object that implements a server trait S
.