Struct EntryWriter
pub struct EntryWriter<'a> { /* private fields */ }
A writer for a single entry in a tar archive.
This struct is returned by Builder::append_writer and provides a
Write implementation for adding content to an archive entry.
After writing all data to the entry, it must be finalized either by
explicitly calling EntryWriter::finish or by letting it drop.
Implementations
impl EntryWriter<'_>
fn finish(self) -> Result<()>Finish writing the current entry in the archive.
Trait Implementations
impl Drop for EntryWriter<'_>
fn drop(&mut self)
impl Write for EntryWriter<'_>
fn write(&mut self, buf: &[u8]) -> Result<usize>fn flush(&mut self) -> Result<()>