Module tokio_jsonrpc::message
[−]
[src]
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. |
| RpcError |
An error code. |
Enums
| Broken |
A broken message. |
| Message |
One message of the JSON RPC protocol. |
Functions
| from_slice |
Read a Message from a slice. |
| from_str |
Read a Message from a string. |
Type Definitions
| Parsed |