Struct zipp::archive::Archive[][src]

pub struct Archive { /* fields omitted */ }
Expand description

Zip Archive

Implementations

Opens the zip archive specified by path

Opens a zip archive encapsulated by the Source

Create the zip archive specified by path

Close zip archive and discard changes

Close zip archive and writes any changes made to archive to disk.

Undo changes to file in zip archive

Undo global changes to zip archive

Undo all changes in a zip archive

Set default password for encrypted files in zip

Set compression method for file in zip

Set encryption method for file in zip

Set zip archive comment

Get zip archive comment

Open encrypted file in zip archive for reading by name, if passwd is None, it would be open normal

Open encrypted file in zip archive for reading, if passwd is None, it will open as normal file

Rename file in zip archive

Add file to zip archive or replace file in zip archive

Add file to zip archive or replace file in zip archive

Delete file from zip archive

Get comment for file in zip

Get information about file by name

Get name of file by index

Get index of file by name

Get number of files in archive

Add directory to zip archive

Get information about file

Gets an iterator over the file entries of archive

Gets an iterator over the item stat of archive

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.