pub struct ReadTagTableWriter<W: Write> { /* private fields */ }Implementations§
Source§impl<W: Write> ReadTagTableWriter<W>
impl<W: Write> ReadTagTableWriter<W>
pub fn new(inner: W) -> Result<Self>
pub fn write_record(&mut self, rec: &ReadTagRecord) -> Result<()>
Sourcepub fn write_tsv_record(&mut self, rec: &ReadTagWriteRecord<'_>) -> Result<()>
pub fn write_tsv_record(&mut self, rec: &ReadTagWriteRecord<'_>) -> Result<()>
Compatibility shim for older TSV-streaming code.
Normalizers should prefer ReadTagTable::insert() + ReadTagTable::save().
pub fn flush(&mut self) -> Result<()>
Auto Trait Implementations§
impl<W> Freeze for ReadTagTableWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for ReadTagTableWriter<W>where
W: RefUnwindSafe,
impl<W> Send for ReadTagTableWriter<W>where
W: Send,
impl<W> Sync for ReadTagTableWriter<W>where
W: Sync,
impl<W> Unpin for ReadTagTableWriter<W>where
W: Unpin,
impl<W> UnsafeUnpin for ReadTagTableWriter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for ReadTagTableWriter<W>where
W: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more