Struct Zip64DataDescriptorBlock

pub struct Zip64DataDescriptorBlock { pub crc32: u32, pub compressed_size: u64, pub uncompressed_size: u64 }

Zip64 data descriptor

Fields

crc32: u32

crc 32

compressed_size: u64

compressed size

uncompressed_size: u64

uncompressed size

Implementations

impl Zip64DataDescriptorBlock

const SIZE: usize = _;

Signature + fields

const MAGIC: Magic = Magic::DATA_DESCRIPTOR_SIGNATURE;

Magic

fn parse(buff: &[u8; 24]) -> 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 Zip64DataDescriptorBlock

fn clone(&self) -> Self

impl Copy for Zip64DataDescriptorBlock

impl Debug for Zip64DataDescriptorBlock

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

impl PartialEq for Zip64DataDescriptorBlock

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

impl StructuralPartialEq for Zip64DataDescriptorBlock

Auto Trait Implementations

impl Freeze for Zip64DataDescriptorBlock

impl RefUnwindSafe for Zip64DataDescriptorBlock

impl Send for Zip64DataDescriptorBlock

impl Sync for Zip64DataDescriptorBlock

impl Unpin for Zip64DataDescriptorBlock

impl UnsafeUnpin for Zip64DataDescriptorBlock

impl UnwindSafe for Zip64DataDescriptorBlock

Blanket Implementations

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

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

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

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

impl<T> From<T> for Zip64DataDescriptorBlock

impl<T> Same for Zip64DataDescriptorBlock

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

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

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

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