Expand description
Utility functions and types
Structs§
- Match
Dispatch - Role-agnostic helper for pattern-matching on untyped JSON-RPC messages.
- Match
Dispatch From - Role-aware helper for pattern-matching on untyped JSON-RPC requests.
- Type
Notification - Builder for pattern-matching on untyped JSON-RPC notifications.
Functions§
- internal_
error - Creates an internal error with the given message
- json_
cast - Cast from
NtoMby serializing/deserialization to/from JSON. - json_
cast_ params - Cast incoming request/notification params into a typed payload.
- parse_
error - Creates a parse error with the given message
- run_
until - Run
backgrounduntilforegroundcompletes.