pub struct PackStats {
pub object_count: u32,
pub pack_bytes: u64,
pub delta_count: u32,
pub verbatim_reuse_bytes: u64,
pub verbatim_reuse_objects: u32,
pub pack_ofs_fixup_objects: u32,
pub pack_ref_from_ofs_objects: u32,
}Expand description
Counters reported after a successful pack write.
Fields§
§object_count: u32Number of objects in the pack header.
pack_bytes: u64Total bytes written (including header and trailing hash).
delta_count: u32Objects written as OFS_DELTA or REF_DELTA.
verbatim_reuse_bytes: u64Pack body bytes copied verbatim from an existing on-disk pack (reuse path).
verbatim_reuse_objects: u32Objects emitted via verbatim pack reuse (whole or delta copy/rewrite).
pack_ofs_fixup_objects: u32Delta entries whose OFS base distance was rewritten for the output pack.
pack_ref_from_ofs_objects: u32OFS deltas converted to REF deltas for thin packs.
Trait Implementations§
impl Copy for PackStats
impl Eq for PackStats
impl StructuralPartialEq for PackStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.