pub struct ArchiveSummary {
pub file_len: u64,
pub central_dir_offset: u64,
pub central_dir_size: u64,
pub eocd_end_offset: u64,
pub comment_len: u16,
pub disk_number: u32,
pub cd_start_disk: u32,
}Expand description
Container-level offsets/counts, for the forensic analyzer’s structural audits
(trailing data, spanning, etc.). Returned by ZipArchive::summary.
Fields§
§file_len: u64Total file length.
central_dir_offset: u64Absolute offset of the central directory.
central_dir_size: u64Declared central-directory size in bytes.
eocd_end_offset: u64Absolute offset just past the end of the 32-bit EOCD record (incl. its comment) — bytes beyond this are trailing data.
comment_len: u16EOCD archive-comment length.
disk_number: u32Disk number recorded in the EOCD (0 for a single-file archive).
cd_start_disk: u32Disk on which the central directory starts (0 for a single-file archive).
Trait Implementations§
Source§impl Clone for ArchiveSummary
impl Clone for ArchiveSummary
Source§fn clone(&self) -> ArchiveSummary
fn clone(&self) -> ArchiveSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ArchiveSummary
impl RefUnwindSafe for ArchiveSummary
impl Send for ArchiveSummary
impl Sync for ArchiveSummary
impl Unpin for ArchiveSummary
impl UnsafeUnpin for ArchiveSummary
impl UnwindSafe for ArchiveSummary
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