pub struct ZipArchive { /* private fields */ }Available on crate feature
container only.Expand description
A builder that accumulates entries and serializes them into a ZIP archive.
Implementations§
Source§impl ZipArchive
impl ZipArchive
Sourcepub fn store(&mut self, name: &str, data: &[u8]) -> Result<()>
pub fn store(&mut self, name: &str, data: &[u8]) -> Result<()>
Adds data under name, stored uncompressed. Required for an entry that must not be
compressed, such as an e-book package’s signature mimetype.
Trait Implementations§
Source§impl Debug for ZipArchive
impl Debug for ZipArchive
Source§impl Default for ZipArchive
impl Default for ZipArchive
Source§fn default() -> ZipArchive
fn default() -> ZipArchive
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ZipArchive
impl RefUnwindSafe for ZipArchive
impl Send for ZipArchive
impl Sync for ZipArchive
impl Unpin for ZipArchive
impl UnsafeUnpin for ZipArchive
impl UnwindSafe 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