Struct capnp_rpc::Server [−][src]
pub struct Server;
Hook that allows local implementations of interfaces to be passed to the RPC system so that they can be called remotely.
To use this, you need to do the following dance:
ⓘThis example is not tested
let client = foo::ToClient::new(FooImpl).from_server::<::capnp_rpc::Server>());
Trait Implementations
impl ServerHook for Server
[src]
impl ServerHook for Server
fn new_client(server: Box<Server>) -> Client
[src]
fn new_client(server: Box<Server>) -> Client