diff options
| author | Igor Tolmachev <me@igorek.dev> | 2024-07-21 16:59:14 +0900 |
|---|---|---|
| committer | Igor Tolmachev <me@igorek.dev> | 2024-07-21 16:59:14 +0900 |
| commit | 4c411b76cad9cc735687dc739d2e2db5d00e5eac (patch) | |
| tree | 818168ca5726ad3f9d24089dba31a24ff6b1b1f4 /src/zip/error.rs | |
| parent | 7bcdc3b4ca460aec2b98fb2dca6165788c562b05 (diff) | |
| download | archivator-4c411b76cad9cc735687dc739d2e2db5d00e5eac.tar.gz archivator-4c411b76cad9cc735687dc739d2e2db5d00e5eac.zip | |
Add AES encryption
Diffstat (limited to 'src/zip/error.rs')
| -rw-r--r-- | src/zip/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zip/error.rs b/src/zip/error.rs index 5508177..87cd9e9 100644 --- a/src/zip/error.rs +++ b/src/zip/error.rs | |||
| @@ -23,7 +23,7 @@ pub enum ZipError { | |||
| 23 | InvalidFileComment, | 23 | InvalidFileComment, |
| 24 | 24 | ||
| 25 | FileNotFound, | 25 | FileNotFound, |
| 26 | IncorrectPassword, | 26 | WrongPassword, |
| 27 | PasswordIsNotSpecified, | 27 | PasswordIsNotSpecified, |
| 28 | CompressedDataIsUnseekable, | 28 | CompressedDataIsUnseekable, |
| 29 | EncryptedDataIsUnseekable, | 29 | EncryptedDataIsUnseekable, |
| @@ -81,7 +81,7 @@ impl Display for ZipError { | |||
| 81 | Self::InvalidFileComment => write!(f, "Invalid file comment"), | 81 | Self::InvalidFileComment => write!(f, "Invalid file comment"), |
| 82 | 82 | ||
| 83 | Self::FileNotFound => write!(f, "File not found"), | 83 | Self::FileNotFound => write!(f, "File not found"), |
| 84 | Self::IncorrectPassword => write!(f, "Incorrect password"), | 84 | Self::WrongPassword => write!(f, "Wrong password"), |
| 85 | Self::PasswordIsNotSpecified => write!(f, "Password is not specified"), | 85 | Self::PasswordIsNotSpecified => write!(f, "Password is not specified"), |
| 86 | Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), | 86 | Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), |
| 87 | Self::EncryptedDataIsUnseekable => write!(f, "Encrypted data is unseekable"), | 87 | Self::EncryptedDataIsUnseekable => write!(f, "Encrypted data is unseekable"), |
