Trait bitcoincore_rpc_async::Queryable [−][src]
A type that can be queried from Bitcoin Core.
Associated Types
Loading content...Required methods
#[must_use]fn query<'life0, 'life1, 'async_trait>(
rpc: &'life0 C,
id: &'life1 Self::Id
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
rpc: &'life0 C,
id: &'life1 Self::Id
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Query the item using rpc
and convert to Self
.
Implementations on Foreign Types
impl<C: RpcApi + Sync> Queryable<C> for Block
[src]
type Id = BlockHash
fn query<'life0, 'life1, 'async_trait>(
rpc: &'life0 C,
id: &'life1 Self::Id
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
rpc: &'life0 C,
id: &'life1 Self::Id
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<C: RpcApi + Sync> Queryable<C> for Transaction
[src]
type Id = Txid
fn query<'life0, 'life1, 'async_trait>(
rpc: &'life0 C,
id: &'life1 Self::Id
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
rpc: &'life0 C,
id: &'life1 Self::Id
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<C: RpcApi + Sync> Queryable<C> for Option<GetTxOutResult>
[src]
type Id = OutPoint
fn query<'life0, 'life1, 'async_trait>(
rpc: &'life0 C,
id: &'life1 Self::Id
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
rpc: &'life0 C,
id: &'life1 Self::Id
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,