pub trait IBitcoindRpcFactory:
Debug
+ Send
+ Sync {
// Required method
fn create_connection(&self, url: &SafeUrl) -> Result<DynBitcoindRpc>;
}
Expand description
Trait for creating new bitcoin RPC clients
Required Methods§
Sourcefn create_connection(&self, url: &SafeUrl) -> Result<DynBitcoindRpc>
fn create_connection(&self, url: &SafeUrl) -> Result<DynBitcoindRpc>
Creates a new bitcoin RPC client connection