Crate futures_jsonrpcv2

Source

Modules§

client
rasi

Structs§

Error
When a rpc call encounters an error, the Response Object MUST contain the error member with a value that is a Object.
JsonRpc
JSONRPC type compatible with both Request and Response data structures
Request
A rpc call is represented by sending a Request object to a Server.
Response
When a rpc call is made, the Server MUST reply with a Response, except for in the case of Notifications.
Version
JSONRPC version type.

Enums§

ErrorCode
The error codes from and including -32768 to -32000 are reserved for pre-defined errors. Any code within this range, but not defined explicitly below is reserved for future use. The error codes are nearly the same as those suggested for XML-RPC at the following url: http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php

Functions§

map_error
Maping other error type to JSONRPC Error