pub struct ZipArchive { /* private fields */ }Expand description
Validated ZIP index. Its bytes, names and tables keep their charges.
Implementations§
Source§impl ZipArchive
impl ZipArchive
Sourcepub fn open(data: Bytes, meter: &Arc<Meter>) -> Result<Self, Error>
pub fn open(data: Bytes, meter: &Arc<Meter>) -> Result<Self, Error>
Index the central directory. Local headers are checked when read, as ZipFile.open does (unused duplicate rows need not be readable).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ZipArchive
impl !RefUnwindSafe for ZipArchive
impl !UnwindSafe for ZipArchive
impl Forget for ZipArchive
impl Move for ZipArchive
impl Send for ZipArchive
impl Sync for ZipArchive
impl Unpin for ZipArchive
impl UnsafeUnpin for ZipArchive
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more