Module types

Module types 

Source
Expand description

Types to build e2store files ie. with .e2s extension

e2store file contains header and entry

The Header is an 8-byte structure at the beginning of each record in the file

An Entry is a complete record in the file, consisting of both a Header and its associated data

Structs§

Entry
Complete record in an e2store file, consisting of a type, length, and associated data
Header
Header for TLV records in e2store files
Version
The Version record must be the first record in an e2store file

Constants§

EMPTY
Empty record
SLOT_INDEX
SlotIndex record: [‘i’, ‘2’]
VERSION
Version record: [‘e’, ‘2’]

Traits§

IndexEntry
Serialize and deserialize index entries with format: starting-number | offsets... | count