pub struct PackStats {
pub file_size: u64,
pub unique_chunks: u64,
pub logical_chunks: u64,
pub logical_raw: u64,
pub unique_raw: u64,
pub stored: u64,
pub merkle_root: ChunkHash,
}Expand description
Summary of a finished pack, for reporting.
Fields§
§file_size: u64§unique_chunks: u64§logical_chunks: u64§logical_raw: u64Bytes before dedup (every add_chunk call counted).
unique_raw: u64Bytes of unique chunks, uncompressed.
stored: u64Bytes of unique chunks as stored (after compression).
merkle_root: ChunkHashTrait Implementations§
Auto Trait Implementations§
impl Freeze for PackStats
impl RefUnwindSafe for PackStats
impl Send for PackStats
impl Sync for PackStats
impl Unpin for PackStats
impl UnsafeUnpin for PackStats
impl UnwindSafe for PackStats
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