pub trait Closer {
// Provided method
fn close<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Send + 'async_trait,
'life0: 'async_trait { ... }
}Expand description
Closer trait utilized by input and output modules to optionally gracefully exit upon successful processing of the pipeline