bdk_bitcoind_rpc

Trait 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§