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
and stdin
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: