pub trait Provider: Send + Sync {
// Required method
fn generate_commit_message<'life0, 'life1, 'async_trait>(
&'life0 self,
diff: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
// Provided method
fn prompt(&self, diff: &str) -> String { ... }
}