Enum epub_builder::ZipCommandOrLibrary
source · [−]pub enum ZipCommandOrLibrary {
Command(ZipCommand),
Library(ZipLibrary),
}Expand description
Wrapper around either a ZipCommand or a ZipLibrary
Allows to create an EpubBuilder that can decide at runtime which to use.
Variants
Command(ZipCommand)
Command variant
Library(ZipLibrary)
Library variant
Implementations
Try to create a ZipCommand using command. If running command fails on the system,
fall back to ZipLibrary.