pub fn from_path(path: &Path) -> Result<Self, Error> {
        let file = File::open(path)?;
        let reader = BufReader::new(file);
        let archive = ZipArchive::new(reader)?;

        Ok(Self { archive })
    }
/// Create an `ArchiveReader` from a path to a ZIP archive.
Create an `ArchiveReader` from a path to a ZIP archive.
Create an ` ArchiveReader ` from a path to a ZIP archive .
pub fn from_path(path: &Path) -> Result<Self, Error> {
        let file = File::open(path)?;
        let reader = BufReader::new(file);
        let archive = ZipArchive::new(reader)?;
        Ok(Self { archive })
    }
pub fn from_path ( path : & Path ) -> Result < Self , Error > { let file = File :: open ( path ) ? ; let reader = BufReader :: new ( file ) ; let archive = ZipArchive :: new ( reader ) ? ; Ok ( Self { archive } ) }
Create an `ArchiveReader` from a path to a ZIP archive.
Create an ` ArchiveReader ` from a path to a ZIP archive .
path
&Path
path
&Path