pub trait ReadZip {
type File: HasCursor;
// Required method
fn read_zip(&self) -> Result<ArchiveHandle<'_, Self::File>, Error>;
}Expand description
A trait for reading something as a zip archive when we can tell size from self.
See also ReadZipWithSize.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".