Key Value

Lens

B-tree key/value database with batches, snapshots, sub-databases, iterators, cache, compaction, and metrics.

At a glance

FieldValue
Crate/packagelens
Version0.1.0
Sourcemodels/lens
Public structs21
Public enums4
Public traits1
Public functions65
Public method targets12

What developers should learn here

B-tree key/value database with batches, snapshots, sub-databases, iterators, cache, compaction, and metrics. The pages in this section are shaped around this package’s real modules and exported symbols, not a fixed template. Use the API Surface page as the coverage ledger and the workflow pages for how to compose the primitives.

Page map

Source modules

  • examples/minimal.rs — models/lens/examples/minimal.rs
  • src/batch.rs — models/lens/src/batch.rs
  • src/block.rs — models/lens/src/block.rs
  • src/cache.rs — models/lens/src/cache.rs
  • src/config.rs — models/lens/src/config.rs
  • src/error.rs — models/lens/src/error.rs
  • src/iterator.rs — models/lens/src/iterator.rs
  • src/lens.rs — models/lens/src/lens.rs
  • src/lens_policy.rs — models/lens/src/lens_policy.rs
  • src/lib.rs — models/lens/src/lib.rs
  • src/metrics.rs — models/lens/src/metrics.rs
  • src/node.rs — models/lens/src/node.rs
  • src/snapshot.rs — models/lens/src/snapshot.rs
  • src/sub.rs — models/lens/src/sub.rs
  • src/utils.rs — models/lens/src/utils.rs