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§

source

fn create_connection( &self, url: &SafeUrl, handle: TaskHandle ) -> Result<DynBitcoindRpc>

Creates a new bitcoin RPC client connection

Implementors§