pub trait Packager {
// Required method
fn write_file(&mut self, path: &Path, bytes: Vec<u8>) -> Result<(), Error>;
// Provided method
fn flush(self)
where Self: Sized { ... }
}Expand description
A type which handles the processed output and stores/packages it to the destination.