Skip to main content

Module error

Module error 

Source
Expand description

Error types for archive operations.

Re-exports§

pub use config_error::ConfigProblem;
pub use config_error::ConfigSetting;
pub use config_error::ExcludeRefusal;
pub use io_context::IoContext;
pub use malformation::Malformation;
pub use malformation::Unclassified;
pub use messages::ErrorCode;
pub use messages::FfiErrorMessage;
pub use messages::FfiKind;
pub use messages::FfiSourceFault;
pub use messages::InvalidArchiveSubCode;
pub use messages::PartialOutcome;
pub use messages::SecurityViolationSubCode;
pub use messages::SubCode;
pub use tar_ambiguity::TarAmbiguity;
pub use tar_ambiguity::TarExtensionKind;
pub use tar_ambiguity::TarHeaderField;
pub use tar_ambiguity::TarNonRegularKind;
pub use tar_ambiguity::TarPathKey;
pub use tar_trailer::TarTrailerRefusal;
pub use tar_trailer::TrailerCorruption;
pub use types::ArchiveError;
pub use types::CompressionRatio;
pub use types::Partial;
pub use types::PartialWrites;
pub use types::PolicySetting;
pub use types::QuotaKind;
pub use types::QuotaResource;
pub use types::ReaderFormatError;
pub use types::Result;
pub use types::SolidMemoryScope;
pub use types::ZipBombDetails;
pub use types::ZipBombScope;
pub use violation::KindSource;
pub use violation::NativeKind;
pub use violation::PortableHazard;
pub use violation::SpecialFile;
pub use violation::Violation;
pub use zip_inconsistency::CentralRecordOrdinal;
pub use zip_inconsistency::EndRecordKind;
pub use zip_inconsistency::HiddenRegion;
pub use zip_inconsistency::ZipEntryIndex;
pub use zip_inconsistency::ZipHeaderField;
pub use zip_inconsistency::ZipInconsistency;
pub use zip_inconsistency::ZipNonRegularKind;
pub use zip_inconsistency::ZipStreamUndecided;
pub use zip_inconsistency::ZipUncomparable;

Modules§

config_error
Typed configuration refusals.
io_context
Structured context for std::io::Error::other call sites.
malformation
Typed malformed-archive refusals.
messages
FFI error message formatting.
redaction
Shared path and I/O-error redaction algorithms for FFI-facing error messages.
tar_ambiguity
Typed refusals for TAR headers that different TAR readers resolve differently.
tar_trailer
Typed refusals for the bytes after the end-of-archive marker of a compressed TAR.
types
Core error types for archive operations.
violation
Typed security-policy refusals.
zip_inconsistency
Typed findings for ZIP archives whose structure is read differently by different ZIP readers.