Module tarpc::rpc::server [−][src]
Provides a server that concurrently handles many connections sending multiplexed requests.
Structs
BaseChannel | BaseChannel lifts a Transport to a Channel by tracking in-flight requests. |
ChannelFilter | A single-threaded filter that drops channels based on per-key limits. |
ClientHandler | A running handler serving all requests coming over a channel. |
Config | Settings that control the behavior of the server. |
RequestHandler | A future fulfilling a single client request. |
Running | A future that drives the server by spawning channels and request handlers on the default executor. |
Server | Manages clients, serving multiplexed requests over each connection. |
Throttler | A |
ThrottlerStream | A stream of throttling channels. |
Traits
Channel | The server end of an open connection with a client, streaming in requests from, and sinking responses to, the client. |
Handler | A utility trait enabling a stream to fluently chain a request handler. |
Serve | Basically a Fn(Req) -> impl Future<Output = Resp>; |
Functions
new | Returns a new server with configuration specified |