pub struct PackEntry {
pub obj_type: u8,
pub size: u64,
pub data: Vec<u8>,
pub crc32: u32,
}Expand description
Pack file entry - one object in the pack
Fields§
§obj_type: u8Object type: 1=blob, 2=tree, 3=commit, 4=tag
size: u64Uncompressed size
data: Vec<u8>Compressed data
crc32: u32CRC32 of the compressed data
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PackEntry
impl RefUnwindSafe for PackEntry
impl Send for PackEntry
impl Sync for PackEntry
impl Unpin for PackEntry
impl UnsafeUnpin for PackEntry
impl UnwindSafe for PackEntry
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