Struct Zip32CentralDirectoryEnd

pub struct Zip32CentralDirectoryEnd { pub disk_number: u16, pub disk_with_central_directory: u16, pub number_of_files_on_this_disk: u16, pub number_of_files: u16, pub central_directory_size: u32, pub central_directory_offset: u32, pub zip_file_comment: Box<[u8]> }

Fields

disk_number: u16
disk_with_central_directory: u16
number_of_files_on_this_disk: u16
number_of_files: u16
central_directory_size: u32
central_directory_offset: u32
zip_file_comment: Box<[u8]>

Implementations

impl Zip32CentralDirectoryEnd

fn parse<T: Read + ?Sized>(reader: &mut T) -> ZipResult<Zip32CentralDirectoryEnd>

Parse the block

fn write<T: Write>(self, writer: &mut T) -> ZipResult<()>

Write the block

fn may_be_zip64(&self) -> bool

Check if the zip file could be a zip64

Trait Implementations

impl Debug for Zip32CentralDirectoryEnd

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

Auto Trait Implementations

impl Freeze for Zip32CentralDirectoryEnd

impl RefUnwindSafe for Zip32CentralDirectoryEnd

impl Send for Zip32CentralDirectoryEnd

impl Sync for Zip32CentralDirectoryEnd

impl Unpin for Zip32CentralDirectoryEnd

impl UnsafeUnpin for Zip32CentralDirectoryEnd

impl UnwindSafe for Zip32CentralDirectoryEnd

Blanket Implementations

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

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

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

impl<T> From<T> for Zip32CentralDirectoryEnd

impl<T> Same for Zip32CentralDirectoryEnd

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

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

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