[−][src]Trait epub_builder::Zip
An abstraction over possible Zip implementations.
The actual implementations are ZipCommand (uses the system command zip) or
ZipLibrary (uses the Rust zip library).
Required methods
fn write_file<P: AsRef<Path>, R: Read>(
&mut self,
file: P,
content: R
) -> Result<()>
&mut self,
file: P,
content: R
) -> Result<()>
Write the source content to a file in the archive
fn generate<W: Write>(&mut self, _: W) -> Result<()>
Generate the ZIP file
Implementors
impl Zip for ZipCommand[src]
fn write_file<P: AsRef<Path>, R: Read>(
&mut self,
path: P,
content: R
) -> Result<()>[src]
&mut self,
path: P,
content: R
) -> Result<()>