We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea08b55 commit d1dd0afCopy full SHA for d1dd0af
src/client/mod.rs
@@ -4,14 +4,15 @@
4
5
use crate::ledger::Ledger;
6
use bitcoincore_rpc::{Auth, RpcApi};
7
+use std::fmt::Debug;
8
9
mod rpc_api;
10
11
/// This trait defines non-functional interfaces for RPC interfaces, like
12
/// `new()`. This is needed if target application wants to choose actual rpc and
13
/// this via trait definitions. This is helpful for choosing different rpc
14
/// interface between test and release builds.
-pub trait RpcApiWrapper: RpcApi + std::marker::Sync + std::marker::Send + 'static {
15
+pub trait RpcApiWrapper: RpcApi + std::marker::Sync + std::marker::Send + 'static + Debug {
16
/// Create a new RPC connection.
17
fn new(url: &str, auth: Auth) -> bitcoincore_rpc::Result<Self>;
18
/// Create a new RPC connection, without any cleanup. Useful for `clone`
0 commit comments