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