zip::unstable::write

Trait FileOptionsExt

Source
pub trait FileOptionsExt {
    // Required method
    fn with_deprecated_encryption(self, password: &[u8]) -> Self;
}
Expand description

Unstable methods for FileOptions.

Required Methods§

Source

fn with_deprecated_encryption(self, password: &[u8]) -> Self

Write the file with the given password using the deprecated ZipCrypto algorithm.

This is not recommended for new archives, as ZipCrypto is not secure.

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.

Implementors§