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§
Sourcefn 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,
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.