Module tokio_jsonrpc::server [] [src]

The Server trait and helpers.

The Server trait for the use by the Endpoint is defined here. Furthermore, some helpers for convenient creation and composition of servers are available. Note that not all of these helpers are necessarily zero-cost, at least at this time.

Structs

AbstractServer

An RPC server wrapper with dynamic dispatch.

Empty

A RPC server that knows no methods.

ServerChain

A server that chains several other servers.

Traits

Server

The server endpoint.

Type Definitions

BoxNotificationResult

A notification call result wrapping trait objects.

BoxRpcCallResult

A RPC call result wrapping trait objects.

BoxServer

A type to store servers as trait objects.