Crate landfill

source ·
Expand description

Landfill

A set of datastructures for dealing with persistent, on-disk data.

Structs

  • AppendOnly Since the collection can only grow, and written bytes never move in memory, it is possible to keep shared references into the stored bytes, while still concurrently appending new data.
  • A storage for content-adressable byte-slices
  • A once-initialized file carrying pseudorandom data
  • A guard around a landfill that can only be created from this module
  • A crash-resistant register of strictly incrementing values
  • The datastructure representing an on-disk data dump
  • A file with a corresponding memory map of the entire contents of the file
  • A map structure where each key can be set only once
  • An unbounded array of T on disk
  • Low-level on-disk hashmap
  • A Tag that can be used to loosely identify this specific instantiation of entropy.

Traits

  • A datastructure that can be constructed from a landfill