Struct ZipDataDescriptorBlock

pub struct ZipDataDescriptorBlock { pub crc32: u32, pub compressed_size: u32, pub uncompressed_size: u32 }

Zip data descriptor

Fields

crc32: u32

crc 32

compressed_size: u32

compressed size

uncompressed_size: u32

uncompressed size

Implementations

impl ZipDataDescriptorBlock

const SIZE: usize = _;

Signature + fields

const MAGIC: Magic = Magic::DATA_DESCRIPTOR_SIGNATURE;

Magic

fn parse(buff: &[u8; 16]) -> Result<Self, &'static str>

Parse the zip64 data descriptor

fn write<W: Write>(&self, w: &mut W) -> Result<()>

Write the zip64 data descriptor

Trait Implementations

impl Clone for ZipDataDescriptorBlock

fn clone(&self) -> Self

impl Copy for ZipDataDescriptorBlock

impl Debug for ZipDataDescriptorBlock

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl PartialEq for ZipDataDescriptorBlock

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for ZipDataDescriptorBlock

Auto Trait Implementations

impl Freeze for ZipDataDescriptorBlock

impl RefUnwindSafe for ZipDataDescriptorBlock

impl Send for ZipDataDescriptorBlock

impl Sync for ZipDataDescriptorBlock

impl Unpin for ZipDataDescriptorBlock

impl UnsafeUnpin for ZipDataDescriptorBlock

impl UnwindSafe for ZipDataDescriptorBlock

Blanket Implementations

impl<T> Any for ZipDataDescriptorBlock where T: 'static + ?Sized,

impl<T> Borrow<T> for ZipDataDescriptorBlock where T: ?Sized,

impl<T> BorrowMut<T> for ZipDataDescriptorBlock where T: ?Sized,

impl<T> CloneToUninit for ZipDataDescriptorBlock where T: Clone,

impl<T> From<T> for ZipDataDescriptorBlock

impl<T> Same for ZipDataDescriptorBlock

impl<T> ToOwned for ZipDataDescriptorBlock where T: Clone,

impl<T, U> Into<U> for ZipDataDescriptorBlock where U: From<T>,

impl<T, U> TryFrom<U> for ZipDataDescriptorBlock where U: Into<T>,

impl<T, U> TryInto<U> for ZipDataDescriptorBlock where U: TryFrom<T>,