Module tokio_jsonrpc::endpoint [] [src]

The endpoint of the JSON RPC connection.

This module helps building the endpoints of the connection. The endpoints act as both client and server at the same time. If you want a client-only endpoint, use Empty as the server or the relevant Endpoint's constructor. If you want a server-only endpoint, simply don't call any RPCs or notifications and forget about the returned Client structure.

Structs

AlreadyTerminated

An error indicator when a connection has been already terminated.

Client

The client part of the endpoint.

Endpoint

The builder structure for the end point.

ServerCtl

A handle to control the server.

Type Definitions

Notified
RpcFinished
RpcSent