pub struct WantHave {
pub wants: Vec<ObjectId>,
pub haves: Vec<ObjectId>,
}Expand description
Want/Have negotiation for upload-pack.
Fields§
§wants: Vec<ObjectId>Object IDs the client wants.
haves: Vec<ObjectId>Object IDs the client has (for delta compression).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WantHave
impl RefUnwindSafe for WantHave
impl Send for WantHave
impl Sync for WantHave
impl Unpin for WantHave
impl UnwindSafe for WantHave
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