1 2 3 4 5
use crate::{client_error::Result, rpc_request::RpcRequest}; pub trait RpcSender { fn send(&self, request: RpcRequest, params: serde_json::Value) -> Result<serde_json::Value>; }
1 2 3 4 5
use crate::{client_error::Result, rpc_request::RpcRequest}; pub trait RpcSender { fn send(&self, request: RpcRequest, params: serde_json::Value) -> Result<serde_json::Value>; }