[][src]Module tinkv::util

Re-exports

pub use misc::*;

Modules

misc

Define some helper functions.

Structs

BufReaderWithOffset
BufWriterWithOffset
ByteLineReader

Read byte lines from an instance of BufRead.

FileWithBufWriter

A file wrapper wraps File and BufWriterWithOffset<File>. We're using BufWriterWithOffset here for better writting performance. Also, we need to make sure file.sync_all() can be called manually to flush all pending writes to disk.