Module tarpc::rpc[][src]

An RPC framework providing client and server.

Features:

Re-exports

pub use crate::client::Client;
pub use crate::server::Server;
pub use crate::trace;

Modules

client

Provides a client that connects to a server and sends multiplexed requests.

context

Provides a request context that carries a deadline and trace context. This context is sent from client to server and is used by the server to enforce response deadlines.

server

Provides a server that concurrently handles many connections sending multiplexed requests.

transport

Provides a Transport trait as well as implementations.

Structs

Request

A request from a client to a server.

Response

A response from a server to a client.

ServerError

An error response from a server to a client.

Enums

ClientMessage

A message from a client to a server.

Traits

Transport

A bidirectional stream (Sink + Stream) of messages.