# Structs
LogDB is a simple key-value store that persists data to a log file.
Record represents a key-value pair in our database.
RecordWithOffset holds a record and its offset in the log file.
Segment represents a segment in our log database.
# Type aliases
HashIndex is a map of keys to offsets in the segment file.