Module unc_jsonrpc_primitives::message
source · Expand description
JSON-RPC 2.0 messages.
The main entrypoint here is the Message. The others are just building
blocks and you should generally work with Message instead.
Structs§
- A notification (doesn’t expect an answer).
- An RPC request.
- A response to an RPC.
Enums§
- A broken message.
- One message of the JSON RPC protocol.
- A trick to easily deserialize and detect valid JSON, but invalid Message.