pub trait Packer: Send {
fn pack_name(&self) -> &'static str;
fn do_pack(
&self,
log_file: File,
log_file_path: &str
) -> Result<bool, LogError>;
fn retry(&self) -> i32 { ... }
}
Expand description
.zip or .lz4 or any one packer