[−][src]Struct git_odb::pack::data::iter::Entry
Fields
header: Headerheader_size: u16amount of bytes used to encode the header. pack_offset + header_size is the beginning of the compressed data in the pack.
pack_offset: u64compressed: 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: u64The amount of bytes the compressed portion of the entry takes.
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: u64The amount of decompressed bytes
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
Trait Implementations
impl Clone for Entry[src]
impl Debug for Entry[src]
impl<'de> Deserialize<'de> for Entry[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for Entry[src]
impl Hash for Entry[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for Entry[src]
fn cmp(&self, other: &Entry) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<Entry> for Entry[src]
impl PartialOrd<Entry> for Entry[src]
fn partial_cmp(&self, other: &Entry) -> Option<Ordering>[src]
fn lt(&self, other: &Entry) -> bool[src]
fn le(&self, other: &Entry) -> bool[src]
fn gt(&self, other: &Entry) -> bool[src]
fn ge(&self, other: &Entry) -> bool[src]
impl Serialize for Entry[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for Entry[src]
impl StructuralPartialEq for Entry[src]
Auto Trait Implementations
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,