Crate service

Source

Structs§

ServeWorld
A serving function to use with ::tarpc::server::InFlightRequest::execute.
WorldClient
The client stub that makes RPC calls to the server. All request methods return Futures.

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.

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.
WorldStub
The stub trait for service World.

Functions§

init_tracing
Initializes an OpenTelemetry tracing subscriber with a OTLP backend.