Struct body_image::barc::BarcWriter [−][src]
pub struct BarcWriter<'a> { /* fields omitted */ }
BARC file handle for write access.
Methods
impl<'a> BarcWriter<'a>
[src]
impl<'a> BarcWriter<'a>
pub fn write(
&mut self,
rec: &MetaRecorded,
strategy: &CompressStrategy
) -> Result<u64, BarcError>
[src]
pub fn write(
&mut self,
rec: &MetaRecorded,
strategy: &CompressStrategy
) -> Result<u64, BarcError>
Write a new record, returning the record's offset from the
start of the BARC file. The writer position is then advanced
to the end of the file, for the next write
.
Auto Trait Implementations
impl<'a> !Send for BarcWriter<'a>
impl<'a> !Send for BarcWriter<'a>
impl<'a> Sync for BarcWriter<'a>
impl<'a> Sync for BarcWriter<'a>