Skip to main content

BitcoinRpcErrorExt

Trait BitcoinRpcErrorExt 

Source
pub trait BitcoinRpcErrorExt: Borrow<Error> {
    // Provided methods
    fn is_not_found(&self) -> bool { ... }
    fn is_in_utxo_set(&self) -> bool { ... }
    fn is_already_in_mempool(&self) -> bool { ... }
}

Provided Methods§

Source

fn is_not_found(&self) -> bool

Whether this error indicates that the tx was not found.

Source

fn is_in_utxo_set(&self) -> bool

Whether this error indicates that the tx is already in the utxo set.

Source

fn is_already_in_mempool(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§