pub struct ArchiveStats {
pub files_processed: u64,
pub entries_skipped: u64,
pub structured_hits: u64,
pub scanner_fallback: u64,
pub nested_archives: u64,
pub total_input_bytes: u64,
pub total_output_bytes: u64,
pub file_methods: HashMap<String, String>,
pub file_scan_stats: HashMap<String, ScanStats>,
pub entries_filtered: u64,
}Expand description
Statistics collected while processing an archive.
Fields§
§files_processed: u64Number of file entries processed (excludes dirs/symlinks).
entries_skipped: u64Number of entries passed through unchanged (dirs, symlinks, etc.).
structured_hits: u64Number of files handled by a structured processor.
scanner_fallback: u64Number of files handled by the streaming scanner fallback.
nested_archives: u64Number of entries that were themselves archives and processed recursively.
total_input_bytes: u64Total input bytes across all file entries.
total_output_bytes: u64Total output bytes across all file entries.
file_methods: HashMap<String, String>Per-file processing method: filename → "structured:<proc>", "scanner",
or "nested:<format>".
file_scan_stats: HashMap<String, ScanStats>Per-file scan statistics (matches, replacements, bytes, pattern counts).
entries_filtered: u64Number of file entries removed by the ArchiveFilter.
Trait Implementations§
Source§impl Clone for ArchiveStats
impl Clone for ArchiveStats
Source§fn clone(&self) -> ArchiveStats
fn clone(&self) -> ArchiveStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArchiveStats
impl Debug for ArchiveStats
Source§impl Default for ArchiveStats
impl Default for ArchiveStats
Source§fn default() -> ArchiveStats
fn default() -> ArchiveStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArchiveStats
impl RefUnwindSafe for ArchiveStats
impl Send for ArchiveStats
impl Sync for ArchiveStats
impl Unpin for ArchiveStats
impl UnsafeUnpin for ArchiveStats
impl UnwindSafe for ArchiveStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more