Struct cab::CabinetWriter [−][src]
A structure for writing file data into a new cabinet file.
Methods
impl<W: Write + Seek> CabinetWriter<W>
[src]
impl<W: Write + Seek> CabinetWriter<W>
pub fn next_file(&mut self) -> Result<Option<FileWriter<W>>>
[src]
pub fn next_file(&mut self) -> Result<Option<FileWriter<W>>>
Returns a FileWriter
for the next file within that cabinet that needs
data to be written, or None
if all files are now complete.
pub fn finish(self) -> Result<W>
[src]
pub fn finish(self) -> Result<W>
Finishes writing the cabinet file, and returns the underlying writer.
Trait Implementations
impl<W: Write + Seek> Drop for CabinetWriter<W>
[src]
impl<W: Write + Seek> Drop for CabinetWriter<W>
Auto Trait Implementations
impl<W> Send for CabinetWriter<W> where
W: Send,
impl<W> Send for CabinetWriter<W> where
W: Send,
impl<W> Sync for CabinetWriter<W> where
W: Sync,
impl<W> Sync for CabinetWriter<W> where
W: Sync,