Trait chaindexing::ExecutesWithRawQuery
source · pub trait ExecutesWithRawQuery: HasRawQueryClient {
// Required methods
fn execute_raw_query<'life0, 'life1, 'async_trait>(
client: &'life0 Self::RawQueryClient,
query: &'life1 str
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn execute_raw_query_in_txn<'a, 'life0, 'life1, 'async_trait>(
client: &'life0 Self::RawQueryTxnClient<'a>,
query: &'life1 str
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn commit_raw_query_txns<'a, 'async_trait>(
client: Self::RawQueryTxnClient<'a>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait;
fn update_next_block_number_to_handle_from_in_txn<'a, 'life0, 'async_trait>(
client: &'life0 Self::RawQueryTxnClient<'a>,
contract_address_id: ContractAddressID,
block_number: i64
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn update_every_next_block_number_to_handle_from_in_txn<'a, 'life0, 'async_trait>(
client: &'life0 Self::RawQueryTxnClient<'a>,
chain_id: i32,
block_number: i64
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn update_reorged_blocks_as_handled_in_txn<'a, 'life0, 'life1, 'async_trait>(
client: &'life0 Self::RawQueryTxnClient<'a>,
reorged_block_ids: &'life1 Vec<i32>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Required Methods§
fn execute_raw_query<'life0, 'life1, 'async_trait>( client: &'life0 Self::RawQueryClient, query: &'life1 str ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn execute_raw_query_in_txn<'a, 'life0, 'life1, 'async_trait>( client: &'life0 Self::RawQueryTxnClient<'a>, query: &'life1 str ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn commit_raw_query_txns<'a, 'async_trait>( client: Self::RawQueryTxnClient<'a> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait,
fn update_next_block_number_to_handle_from_in_txn<'a, 'life0, 'async_trait>( client: &'life0 Self::RawQueryTxnClient<'a>, contract_address_id: ContractAddressID, block_number: i64 ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,
fn update_every_next_block_number_to_handle_from_in_txn<'a, 'life0, 'async_trait>( client: &'life0 Self::RawQueryTxnClient<'a>, chain_id: i32, block_number: i64 ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,
fn update_reorged_blocks_as_handled_in_txn<'a, 'life0, 'life1, 'async_trait>( client: &'life0 Self::RawQueryTxnClient<'a>, reorged_block_ids: &'life1 Vec<i32> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Object Safety§
This trait is not object safe.