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

Auto Trait Implementations

impl Send for Server

impl Sync for Server