pub struct ArchiveInfo { /* private fields */ }Expand description
Summary information about the archive.
Implementations§
Source§impl ArchiveInfo
impl ArchiveInfo
Sourcepub fn format_version(&self) -> u16
pub fn format_version(&self) -> u16
0 = V1, 1 = V2.
pub fn set_format_version(&mut self, value: u16)
Sourcepub fn hash_table_entries(&self) -> u32
pub fn hash_table_entries(&self) -> u32
Hash table capacity (always a power of 2).
pub fn set_hash_table_entries(&mut self, value: u32)
Sourcepub fn block_table_entries(&self) -> u32
pub fn block_table_entries(&self) -> u32
Number of occupied block table entries.
pub fn set_block_table_entries(&mut self, value: u32)
Sourcepub fn sector_size(&self) -> u32
pub fn sector_size(&self) -> u32
Sector size in bytes (512 << sectorSizeShift).
pub fn set_sector_size(&mut self, value: u32)
Sourcepub fn archive_size(&self) -> u64
pub fn archive_size(&self) -> u64
Total archive size in bytes.
pub fn set_archive_size(&mut self, value: u64)
Trait Implementations§
Source§impl Debug for ArchiveInfo
impl Debug for ArchiveInfo
Source§impl Default for ArchiveInfo
impl Default for ArchiveInfo
Source§impl Drop for ArchiveInfo
impl Drop for ArchiveInfo
impl Send for ArchiveInfo
Auto Trait Implementations§
impl !Sync for ArchiveInfo
impl Freeze for ArchiveInfo
impl RefUnwindSafe for ArchiveInfo
impl Unpin for ArchiveInfo
impl UnsafeUnpin for ArchiveInfo
impl UnwindSafe for ArchiveInfo
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