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 PartialOrd for Outcome
impl PartialOrd for Outcome
impl 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