pub trait EntryHandler<T: FileOptionExtension> {
// Required method
fn handle_entry<W: Write + Seek>(
&self,
writer: &mut ZipWriter<W>,
root: &PathBuf,
entry_path: &PathBuf,
file_options: FileOptions<'_, T>,
buffer: &mut Vec<u8>,
) -> ZipResult<()>;
}Required Methods§
fn handle_entry<W: Write + Seek>( &self, writer: &mut ZipWriter<W>, root: &PathBuf, entry_path: &PathBuf, file_options: FileOptions<'_, T>, buffer: &mut Vec<u8>, ) -> ZipResult<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.