pub trait ReadZipWithSize {
type File: HasCursor;
// Required method
fn read_zip_with_size(
&self,
size: u64,
) -> Result<ArchiveHandle<'_, Self::File>, Error>;
}
Expand description
A trait for reading something as a zip archive
See also ReadZip.
Required Associated Types§
Required Methods§
sourcefn read_zip_with_size(
&self,
size: u64,
) -> Result<ArchiveHandle<'_, Self::File>, Error>
fn read_zip_with_size( &self, size: u64, ) -> Result<ArchiveHandle<'_, Self::File>, Error>
Reads self as a zip archive.