pub trait CustomFunction {
// Provided methods
fn fetch_function<'life0, 'life1, 'async_trait>(
&'life0 self,
_func_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Option<&'life0 CustomFunction>, Error>> + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait { ... }
fn fetch_all_functions<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<&'life0 CustomFunction>, Error>> + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait { ... }
}