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

EndpointHandler

Combine an EndpointOutput with a request handler, to provide a full Endpoint capable of handling incoming requests from a message reader.

EndpointOutput

A JSON-RPC Server-role than can send responses to requests. TODO: review and clarify shutdown semantics

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