pub struct ReceivedObjects {
pub received: u64,
pub total: u64,
pub deltas: u64,
}Expand description
How far a pack transfer has got, counted in objects rather than bytes.
Reported through crate::fetch::Progress::received_objects while a pack
streams in, when the sink asks for it with
crate::fetch::Progress::wants_received_objects.
Fields§
§received: u64Objects fully received so far.
total: u64Objects in the pack, from its header.
deltas: u64How many of the received objects are deltas.
Trait Implementations§
Source§impl Clone for ReceivedObjects
impl Clone for ReceivedObjects
impl Copy for ReceivedObjects
Source§impl Debug for ReceivedObjects
impl Debug for ReceivedObjects
Source§impl Default for ReceivedObjects
impl Default for ReceivedObjects
impl Eq for ReceivedObjects
Source§impl PartialEq for ReceivedObjects
impl PartialEq for ReceivedObjects
impl StructuralPartialEq for ReceivedObjects
Auto Trait Implementations§
impl Freeze for ReceivedObjects
impl RefUnwindSafe for ReceivedObjects
impl Send for ReceivedObjects
impl Sync for ReceivedObjects
impl Unpin for ReceivedObjects
impl UnsafeUnpin for ReceivedObjects
impl UnwindSafe for ReceivedObjects
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