Crate melwalletd_prot
source ·Expand description
Crate defining the nanorpc (JSON-RPC 2.0) protocol exposed by melwalletd, the reference Themelio wallet microservice implementation.
As a user, you almost certainly only care about MelwalletdClient, which you would generally want to wrap around an HTTP-based nanorpc::RpcTransport in order to talk to melwalletd.
Modules
Structs
- Automatically generated client type that communicates to servers implementing the MelwalletdProtocol protocol. The easiest way to use this is by using the
From<RpcTransport>
implementation. - Automatically generated struct that wraps any ‘business logic’ struct implementing MelwalletdProtocol, and returns a JSON-RPC server implementing nanorpc::RpcService. See the MelwalletdProtocol trait for further documentation.
Enums
- Automatically generated error type that MelwalletdClient instances return from its methods
Traits
- A [macro@nanorpc_derive] trait that describes the RPC protocol exposed by a
melwalletd
daemon.