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§
- Notification
- A notification (doesn’t expect an answer).
- Request
- An RPC request.
- Response
- A response to an RPC.
Enums§
- Broken
- A broken message.
- Message
- One message of the JSON RPC protocol.
- Wire
Message - A trick to easily deserialize and detect valid JSON, but invalid Message.
Functions§
- decoded_
to_ parsed - from_
slice - Read a Message from a slice.
- from_
str - Read a Message from a string.