sui_indexer::backfill::backfill_task

Trait BackfillTask

Source
pub trait BackfillTask: Send + Sync {
    // Required method
    fn backfill_range<'life0, 'life1, 'async_trait>(
        &'life0 self,
        pool: ConnectionPool,
        range: &'life1 RangeInclusive<usize>,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn backfill_range<'life0, 'life1, 'async_trait>( &'life0 self, pool: ConnectionPool, range: &'life1 RangeInclusive<usize>, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Backfill the database for a specific range.

Implementors§