pub enum FaultKind {
Show 14 variants
Utf8,
Name,
DuplicateName,
LocalMismatch,
Descriptor,
Overlap,
LocalBounds,
StoredLength,
Encrypted,
Compression,
IsoProfile,
Zip64,
UnicodeName,
DirectorySignature,
}Expand description
A readable negative original fact. No invalid occurrence is filtered out.
Variants§
Utf8
Original name/comment is not UTF-8, as required by EN319162-1 §4.2.
Name
A name is empty, absolute, or has a drive/device/backslash component.
DuplicateName
Identical original names identify several member occurrences.
LocalMismatch
Local and central metadata do not describe the same member.
Descriptor
A descriptor is missing or disagrees with the central entry.
Overlap
Original member enclosures overlap, including duplicate local offsets.
LocalBounds
A local enclosure cannot be bounded before the central directory.
StoredLength
Stored compression has unequal compressed/uncompressed lengths.
Encrypted
Entry uses encryption, independently of any claimed ASiC profile.
Compression
This compression method is unavailable to the decoder.
IsoProfile
ISO21320 excludes the original flags/version needed for extraction.
Zip64
A ZIP64 optional record is duplicate, missing or structurally invalid.
UnicodeName
A Unicode path extra field disagrees with the original name.
DirectorySignature
A central-directory signature is outside the ISO21320 profile.