pub struct PackGenerationProgress {
pub total_objects: usize,
pub compression_objects: usize,
pub delta_objects: u32,
}Expand description
Equal-work counts for one pack generated natively by Sley.
These are semantic events rather than pre-rendered terminal text, allowing an embedding wrapper to render Git-compatible generation progress.
Fields§
§total_objects: usizeObjects enumerated and written by the transfer.
compression_objects: usizeObjects eligible for the delta-compression search phase.
delta_objects: u32Objects ultimately written as deltas.
Trait Implementations§
Source§impl Clone for PackGenerationProgress
impl Clone for PackGenerationProgress
Source§fn clone(&self) -> PackGenerationProgress
fn clone(&self) -> PackGenerationProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PackGenerationProgress
Source§impl Debug for PackGenerationProgress
impl Debug for PackGenerationProgress
impl Eq for PackGenerationProgress
Source§impl PartialEq for PackGenerationProgress
impl PartialEq for PackGenerationProgress
impl StructuralPartialEq for PackGenerationProgress
Auto Trait Implementations§
impl Freeze for PackGenerationProgress
impl RefUnwindSafe for PackGenerationProgress
impl Send for PackGenerationProgress
impl Sync for PackGenerationProgress
impl Unpin for PackGenerationProgress
impl UnsafeUnpin for PackGenerationProgress
impl UnwindSafe for PackGenerationProgress
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