pub trait WalOptionsAllocator: Send + Sync {
// Required method
fn allocate<'life0, 'life1, 'async_trait>(
&'life0 self,
region_numbers: &'life1 [RegionNumber],
skip_wal: bool,
) -> Pin<Box<dyn Future<Output = Result<HashMap<RegionNumber, String>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}