pub trait Finalizer<O>{
// Provided method
fn finalize<'life0, 'async_trait>(
&'life0 mut self,
output: Result<O, TaskError>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait,
'life0: 'async_trait { ... }
}