Trait bitcoincore_rpc::Queryable[][src]

pub trait Queryable<C: RpcApi>: Sized {
    type Id;
    fn query(rpc: &C, id: &Self::Id) -> Result<Self>;
}
Expand description

A type that can be queried from Bitcoin Core.

Associated Types

Type of the ID used to query the item.

Required methods

Query the item using rpc and convert to Self.

Implementations on Foreign Types

Implementors