pub trait Index {
// Provided method
fn scan_indexed_data<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_table_name: &'life1 str,
_index_name: &'life2 str,
_asc: Option<bool>,
_cmp_value: Option<(&'life3 IndexOperator, Value)>
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Stream<Item = Result<(Key, DataRow), Error>>>>, Error>> + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait { ... }
}