pub trait BitcoinRpcExt: RpcApi {
// Provided methods
fn custom_get_raw_transaction_info(
&self,
txid: &Txid,
block_hash: Option<&BlockHash>,
) -> RpcResult<Option<GetRawTransactionResult>> { ... }
fn broadcast_tx(&self, tx: &Transaction) -> Result<(), Error> { ... }
fn tip(&self) -> Result<BlockRef, Error> { ... }
fn deep_tip(&self) -> Result<BlockRef, Error> { ... }
fn tx_status(&self, txid: &Txid) -> Result<TxStatus, Error> { ... }
}Provided Methods§
fn custom_get_raw_transaction_info( &self, txid: &Txid, block_hash: Option<&BlockHash>, ) -> RpcResult<Option<GetRawTransactionResult>>
fn broadcast_tx(&self, tx: &Transaction) -> Result<(), Error>
fn tip(&self) -> Result<BlockRef, Error>
fn deep_tip(&self) -> Result<BlockRef, Error>
fn tx_status(&self, txid: &Txid) -> Result<TxStatus, Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.