pub trait OnClosed {
// Required method
fn on_closed<'life0, 'async_trait>(
&'life0 self,
unconfirmed: Vec<Message>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}