pub struct PackTrailer {
pub segment_count: u32,
pub footer_offset: u64,
pub footer_digest: [u8; 32],
}Expand description
The trailer of a pack object: where the footer is and what it must hash to.
Fields§
§segment_count: u32BLAKE3 of the footer.
Implementations§
Trait Implementations§
Source§impl Clone for PackTrailer
impl Clone for PackTrailer
impl Copy for PackTrailer
Source§impl Debug for PackTrailer
impl Debug for PackTrailer
impl Eq for PackTrailer
Source§impl PartialEq for PackTrailer
impl PartialEq for PackTrailer
impl StructuralPartialEq for PackTrailer
Auto Trait Implementations§
impl Forget for PackTrailer
impl Freeze for PackTrailer
impl Move for PackTrailer
impl RefUnwindSafe for PackTrailer
impl Send for PackTrailer
impl Sync for PackTrailer
impl Unpin for PackTrailer
impl UnsafeUnpin for PackTrailer
impl UnwindSafe for PackTrailer
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