[−][src]Crate service
Structs
Client | The client stub that makes RPC calls to the server. Exposes a Future interface. |
Enums
Request | The request sent over the wire from the client to the server. |
Response | The response sent over the wire from the server to the client. |
ResponseFut | A future resolving to a server |
Traits
Service | Defines the RPC service. The additional trait bounds are required so that services can multiplex requests across multiple tasks, potentially on multiple threads. |
Functions
new_stub | Returns a new client stub that sends requests over the given transport. |
serve | Returns a serving function to use with rpc::server::Server. |