pub trait RegionRoutesAllocator: Send + Sync {
// Required method
fn allocate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
table_id: TableId,
regions_and_partitions: &'life1 [(RegionNumber, &'life2 str)],
) -> Pin<Box<dyn Future<Output = Result<Vec<RegionRoute>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}