pub struct Outcome {
pub decoded_and_recompressed_objects: usize,
pub missing_objects: usize,
pub objects_copied_from_pack: usize,
pub ref_delta_objects: usize,
}
Available on crate feature
generate
only.Expand description
Information gathered during the run of iter_from_counts()
.
Fields§
§decoded_and_recompressed_objects: usize
The amount of fully decoded objects. These are the most expensive as they are fully decoded.
missing_objects: usize
The amount of objects that could not be located despite them being mentioned during iteration
objects_copied_from_pack: usize
The amount of base or delta objects that could be copied directly from the pack. These are cheapest as they only cost a memory copy for the most part.
ref_delta_objects: usize
The amount of objects that ref to their base as ref-delta, an indication for a thin back being created.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Outcome
impl<'de> Deserialize<'de> for Outcome
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Outcome
impl Ord for Outcome
source§impl PartialEq for Outcome
impl PartialEq for Outcome
source§impl PartialOrd for Outcome
impl PartialOrd for Outcome
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)