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.