Crate jsonrpc [] [src]

Reexports

pub extern crate futures;

Modules

json_util
jsonrpc_common
jsonrpc_message
jsonrpc_request
jsonrpc_response
map_request_handler
method_types
output_agent
service_util

Structs

Endpoint

A JSON-RPC endpoint that can send requests (Client role), and send responses to requests (Server role).

EndpointHandler

Combine an Endpoint with a request handler, to create a complete Endpoint Handler, capable of handling incoming requests from a message reader.

MethodCompletable

Helper type that wraps a ResponseCompletable, and binds the possible completion to a result MethodResult<RET, RET_ERROR>

NullRequestHandler
ResponseCompletable

A completable for a JSON-RPC request. This is an object that must be "completed", that is, a result must be provided. (this is the inverse of a future)

Traits

RequestHandler

Functions

submit_error_write_task
submit_message_write_task

Type Definitions

RequestFuture