pub trait Tokenize: HasCapability {
// Provided method
fn tokenize<'life0, 'life1, 'async_trait>(
&'life0 self,
texts: Vec<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<usize>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}