Module rpc_kernel

Source
Expand description

Partial implementation of Janestreet core_rpc_kernel.

Structs§

DebuggerResponse
RPC response in the form used by the Mina Network Debugger, with prepended RPC tag and version.
NeedsLength
Query
RPC query.
QueryHeader
Response
RPC response.
ResponseHeader
RpcResult

Enums§

DebuggerMessage
Error
RPC error.
JSONinifyError
Message
RPC message.
MessageHeader
RpcDebuggerReaderError
RpcQueryReadError
RpcResponseReadError
RpcResultKind
Auxiliary type to encode RpcResult’s tag.

Traits§

BinableDecoder
Reads binable (bin_prot-encoded) value from a stream, handles it and returns a result.
Converter
JSONinifyPayloadReader
PayloadBinprotReader
Trait for reading RPC query and response payloads.
RpcConverter
RpcDebuggerReader
Trait for reading RPC query and response in the format provided by the debugger.
RpcMethod

Type Aliases§

BinprotTag
Binprot representation of the RPC method tag.
QueryID
QueryPayload
Type used for encoding RPC query payload.
ResponsePayload
Type used to encode response payload.
RpcTag
Internal representation of the RPC method tag.
RpcVersion
RPC method version.
Sexp