[−][src]Struct git_odb::pack::data::iter::Entry
An item of the iteration produced by Iter
Fields
header: Header
The header of a pack entry
header_size: u16
The amount of bytes used to encode the header
. pack_offset + header_size
is the beginning of
the compressed data in the pack.
pack_offset: u64
The first byte of the entry at which the header
can be read.
compressed: Option<Vec<u8>>
The bytes consumed while producing decompressed
These do not contain the header, which makes it possible to easily replace a RefDelta with offset deltas
when resolving thin packs.
Depends on CompressionMode
when the iterator is initialized.
compressed_size: u64
The amount of bytes the compressed portion of the entry takes, i.e. the portion behind behind the header.
crc32: Option<u32>
The CRC32 over the complete entry, that is encoded header and compressed object data.
Depends on CompressionMode
when the iterator is initialized
decompressed_size: u64
The amount of decompressed bytes of the entry.
trailer: Option<Id>
Set for the last object in the iteration, providing the hash over all bytes of the iteration for use as trailer in a pack or to verify it matches the trailer.
Trait Implementations
impl Clone for Entry
[src][+]
impl Debug for Entry
[src][+]
impl<'de> Deserialize<'de> for Entry
[src][+]
impl Eq for Entry
[src]
impl Hash for Entry
[src][+]
impl Ord for Entry
[src][+]
impl PartialEq<Entry> for Entry
[src][+]
impl PartialOrd<Entry> for Entry
[src][+]
impl Serialize for Entry
[src][+]
impl StructuralEq for Entry
[src]
impl StructuralPartialEq for Entry
[src]
Auto Trait Implementations
impl RefUnwindSafe for Entry
[src]
impl Send for Entry
[src]
impl Sync for Entry
[src]
impl Unpin for Entry
[src]
impl UnwindSafe for Entry
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Conv for T
[+]
impl<T> Conv for T
[+]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> FmtForward for T
[+]
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pipe for T where
T: ?Sized,
[+]
T: ?Sized,
impl<T> Pipe for T
[+]
impl<T> PipeAsRef for T
[+]
impl<T> PipeBorrow for T
[+]
impl<T> PipeDeref for T
[+]
impl<T> PipeRef for T
[+]
impl<T> Tap for T
[+]
impl<T> Tap for T
[+]
impl<T, U> TapAsRef<U> for T where
U: ?Sized,
[+]
U: ?Sized,
impl<T, U> TapBorrow<U> for T where
U: ?Sized,
[+]
U: ?Sized,
impl<T> TapDeref for T
[+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> TryConv for T
[+]
impl<T> TryConv for T
[+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,