Struct cab::Cabinet[][src]

pub struct Cabinet<R> { /* fields omitted */ }

A structure for reading a cabinet file.

Methods

impl<R: Read + Seek> Cabinet<R>
[src]

Open an existing cabinet file.

Returns the cabinet set ID for this cabinet (an arbitrary number used to group together a set of cabinets).

Returns this cabinet's (zero-based) index within its cabinet set.

Returns the application-defined reserve data stored in the cabinet header.

Important traits for FolderEntries<'a>

Returns an iterator over the folder entries in this cabinet.

Returns the entry for the file with the given name, if any..

Returns a reader over the decompressed data for the file in the cabinet with the given name.

Auto Trait Implementations

impl<R> Send for Cabinet<R> where
    R: Send

impl<R> Sync for Cabinet<R> where
    R: Sync