Crate fedimint_cln_rpc
source ·Re-exports
pub use crate::model::Request;
pub use crate::model::Response;
pub use crate::notifications::Notification;
pub use crate::primitives::RpcError;
Modules
- The codec is used to encode and decode messages received from and sent to the main daemon. The protocol uses
stdout
andstdin
to exchange JSON formatted messages. Each message is separated by an empty line and we’re guaranteed that no other empty line is present in the messages. - Common structs to handle JSON-RPC decoding and encoding. They are generic over the Notification and Request types.
- This file was automatically generated using the following command:
Structs
- The
Error
type, a wrapper around a dynamic error type.