pub struct FetchOutcome {
pub common: Vec<ObjectId>,
pub ready: bool,
pub sent_pack: bool,
pub objects_sent: u32,
pub objects_selected: usize,
pub objects_copied_from_pack: usize,
pub objects_recompressed: usize,
pub answered_from_bitmap: bool,
pub thin_bases_offered: usize,
pub thin_bases_vetoed: usize,
pub closure_bases_declined: usize,
}Expand description
What one fetch produced.
Fields§
§common: Vec<ObjectId>The haves this repository holds.
ready: boolWhether the server declared a cut point.
sent_pack: boolWhether a packfile was sent, as opposed to another negotiation round.
objects_sent: u32How many objects went into it — what the engine emitted.
objects_selected: usizeHow many objects select chose. See
UploadSummary::objects_selected, which is where the two-column
argument is written down.
objects_copied_from_pack: usizeHow many of those were copied out of a pack rather than deflated
out of an inflated object. See UploadSummary::objects_copied_from_pack.
objects_recompressed: usizeHow many had to be deflated. See
UploadSummary::objects_recompressed.
answered_from_bitmap: boolWhether a .bitmap answered this round’s selection. See
UploadSummary::answered_from_bitmap.
thin_bases_offered: usize§thin_bases_vetoed: usize§closure_bases_declined: usizeTrait Implementations§
Source§impl Clone for FetchOutcome
impl Clone for FetchOutcome
Source§impl Debug for FetchOutcome
impl Debug for FetchOutcome
Auto Trait Implementations§
impl Freeze for FetchOutcome
impl RefUnwindSafe for FetchOutcome
impl Send for FetchOutcome
impl Sync for FetchOutcome
impl Unpin for FetchOutcome
impl UnsafeUnpin for FetchOutcome
impl UnwindSafe for FetchOutcome
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