Trait bdk_bitcoind_rpc::BitcoindRpcErrorExt

source ·
pub trait BitcoindRpcErrorExt {
    // Required method
    fn is_not_found_error(&self) -> bool;
}
Expand description

Extends [bitcoincore_rpc::Error].

Required Methods§

source

fn is_not_found_error(&self) -> bool

Returns whether the error is a “not found” error.

This is useful since Emitter emits Result<_, bitcoincore_rpc::Error>s as Iterator::Item.

Implementations on Foreign Types§

source§

impl BitcoindRpcErrorExt for Error

Implementors§