Crate willow_store_simple_sled

Source
Expand description

§willow-store-simple-sled

Simple persistent storage for Willow data.

  • Implements willow_data_model::Store.
  • Simple, hence it has a straightforward implementation without the use of fancy data structures.
  • Uses sled under the hood.

§Performance considerations

  • Read and write performance should be adequate.
  • Loads entire payloads into memory all at once.

Structs§

EntryProducer
Produces willow_data_model::LengthyAuthorisedEntry for a given willow_data_model::grouping::Area and willow_data_model::QueryIgnoreParams.
PayloadProducer
Produces bytes of a payload.
StoreSimpleSled
A simple, sled-powered Willow data store implementing the willow_data_model::Store trait.

Enums§

ExistingStoreSimpleSledError
Returned when a store could not be instantiated from an existing sled::Db.
NewStoreSimpleSledError
Returned when a store could not be instantiated from an empty sled::Db.
StoreSimpleSledError
Returned when something goes wrong with the internal sled::Db.