pub trait ZipWriterExtensions {
    fn create_from_directory(&mut self, directory: &PathBuf) -> ZipResult<()>;
    fn create_from_directory_with_options(
        &mut self,
        directory: &PathBuf,
        options: FileOptions
    ) -> ZipResult<()>; }

Required Methods

Creates a zip archive that contains the files and directories from the specified directory.

Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level.

Implementations on Foreign Types

Implementors