Struct tokio_jsonrpc::server::Empty [] [src]

pub struct Empty;

A RPC server that knows no methods.

You can use this if you want to have a client-only Endpoint. It simply terminates the server part right away. Or, more conveniently, use Endpoint's client_only method.

Trait Implementations

impl Server for Empty
[src]

The successfull result of the RPC call.

The result of the RPC call Read more

The result of the RPC call. Read more

[src]

Called when the endpoint is initialized. Read more

[src]

Called when the client requests something. Read more

[src]

Called when the client sends a notification. Read more