enum Archive {
File(ZipArchive<File>),
Mem(ZipArchive<Cursor<Vec<u8>>>),
}
Expand description
Proxy type for in-memory and file-based
zip::ZipArchive
Variants§
File(ZipArchive<File>)
File-based Zip archive
Mem(ZipArchive<Cursor<Vec<u8>>>)
In-memory Zip archive
Auto Trait Implementations§
impl Freeze for Archive
impl RefUnwindSafe for Archive
impl Send for Archive
impl Sync for Archive
impl Unpin for Archive
impl UnwindSafe for Archive
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