pub struct BinaryPatchSection {
pub kind: BinaryPatchSectionKind,
pub compressed: Vec<u8>,
pub declared_size: usize,
}Expand description
One forward or reverse chunk in a GIT binary patch.
Fields§
§kind: BinaryPatchSectionKindWhether this chunk is a full literal or a delta.
compressed: Vec<u8>Zlib-compressed payload from the GIT binary patch section.
declared_size: usizeDeclared uncompressed size from the section header (literal N / delta N).
Trait Implementations§
Source§impl Clone for BinaryPatchSection
impl Clone for BinaryPatchSection
Auto Trait Implementations§
impl Freeze for BinaryPatchSection
impl RefUnwindSafe for BinaryPatchSection
impl Send for BinaryPatchSection
impl Sync for BinaryPatchSection
impl Unpin for BinaryPatchSection
impl UnsafeUnpin for BinaryPatchSection
impl UnwindSafe for BinaryPatchSection
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