pub struct Progress<'a> { /* private fields */ }
Expand description
Struct representing the progress by an in-flight transfer.
Implementations§
source§impl<'a> Progress<'a>
impl<'a> Progress<'a>
sourcepub fn total_objects(&self) -> usize
pub fn total_objects(&self) -> usize
Number of objects in the packfile being downloaded
sourcepub fn indexed_objects(&self) -> usize
pub fn indexed_objects(&self) -> usize
Received objects that have been hashed
sourcepub fn received_objects(&self) -> usize
pub fn received_objects(&self) -> usize
Objects which have been downloaded
sourcepub fn local_objects(&self) -> usize
pub fn local_objects(&self) -> usize
Locally-available objects that have been injected in order to fix a thin pack.
sourcepub fn total_deltas(&self) -> usize
pub fn total_deltas(&self) -> usize
Number of deltas in the packfile being downloaded
sourcepub fn indexed_deltas(&self) -> usize
pub fn indexed_deltas(&self) -> usize
Received deltas that have been hashed.
sourcepub fn received_bytes(&self) -> usize
pub fn received_bytes(&self) -> usize
Size of the packfile received up to now