Struct cab::CabinetBuilder[][src]

pub struct CabinetBuilder { /* fields omitted */ }
Expand description

A structure for building a new cabinet.

Implementations

Creates a new, empty CabinetBuilder.

Adds a new folder to the cabinet. Use the returned FolderBuilder to add files to the folder or to change other settings on the folder.

Sets the cabinet file’s header reserve data. The meaning of this data is application-defined. The data must be no more than 60,000 bytes long.

Locks in the cabinet settings and returns a CabinetWriter object that will write the cabinet file into the given writer.

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.