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 create_contract_address<'a, 'life0, 'life1, 'async_trait>(
        client: &'life0 Self::RawQueryTxnClient<'a>,
        contract_address: &'life1 UnsavedContractAddress
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn update_next_block_number_to_handle_from<'a, 'life0, 'async_trait>(
        client: &'life0 Self::RawQueryTxnClient<'a>,
        contract_address_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_every_next_block_number_to_handle_from<'a, 'life0, 'async_trait>(
        client: &'life0 Self::RawQueryTxnClient<'a>,
        chain_id: i64,
        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<'a, 'life0, 'life1, 'async_trait>(
        client: &'life0 Self::RawQueryTxnClient<'a>,
        reorged_block_ids: &'life1 [i32]
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn prune_events<'life0, 'async_trait>(
        client: &'life0 Self::RawQueryClient,
        min_block_number: u64,
        chain_id: u64
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn prune_nodes<'life0, 'async_trait>(
        client: &'life0 Self::RawQueryClient,
        retain_size: u16
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn prune_reset_counts<'life0, 'async_trait>(
        client: &'life0 Self::RawQueryClient,
        retain_size: u64
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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,

source

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,

source

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,

source

fn create_contract_address<'a, 'life0, 'life1, 'async_trait>( client: &'life0 Self::RawQueryTxnClient<'a>, contract_address: &'life1 UnsavedContractAddress ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn update_next_block_number_to_handle_from<'a, 'life0, 'async_trait>( client: &'life0 Self::RawQueryTxnClient<'a>, contract_address_id: i32, block_number: i64 ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

source

fn update_every_next_block_number_to_handle_from<'a, 'life0, 'async_trait>( client: &'life0 Self::RawQueryTxnClient<'a>, chain_id: i64, block_number: i64 ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

source

fn update_reorged_blocks_as_handled<'a, 'life0, 'life1, 'async_trait>( client: &'life0 Self::RawQueryTxnClient<'a>, reorged_block_ids: &'life1 [i32] ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn prune_events<'life0, 'async_trait>( client: &'life0 Self::RawQueryClient, min_block_number: u64, chain_id: u64 ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn prune_nodes<'life0, 'async_trait>( client: &'life0 Self::RawQueryClient, retain_size: u16 ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn prune_reset_counts<'life0, 'async_trait>( client: &'life0 Self::RawQueryClient, retain_size: u64 ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§