Struct git_pack::find::Entry [−][src]
Expand description
An Entry in a pack providing access to its data.
Its commonly retrieved by reading from a pack index file followed by a read from a pack data file.
Fields
data: &'a [u8]
The pack-data encoded bytes of the pack data entry as present in the pack file, including the header followed by compressed data.
crc32: Option<u32>
The crc32 hash over the entirety of data
, or None if the pack file format doesn’t support it yet.
version: Version
The version of the pack file containing data
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Entry<'a>
impl<'a> UnwindSafe for Entry<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more