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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.