[][src]Crate service

Structs

ServeWorld

A serving function to use with tarpc::server::Channel::respond_with.

WorldClient

The client stub that makes RPC calls to the server. Exposes a Future interface.

Enums

WorldRequest

The request sent over the wire from the client to the server.

WorldResponse

The response sent over the wire from the server to the client.

WorldResponseFut

A future resolving to a server response.

Traits

World

This is the service definition. It looks a lot like a trait definition. It defines one RPC, hello, which takes one arg, name, and returns a String.