[−][src]Trait service::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.
Associated Types
Loading content...Required methods
Loading content...Provided methods
fn serve(self) -> ServeWorld<Self>
Returns a serving function to use with tarpc::server::Server.