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§
- Entry
Producer - Produces
willow_data_model::LengthyAuthorisedEntry
for a givenwillow_data_model::grouping::Area
andwillow_data_model::QueryIgnoreParams
. - Payload
Producer - Produces bytes of a payload.
- Store
Simple Sled - A simple, sled-powered Willow data store implementing the willow_data_model::Store trait.
Enums§
- Existing
Store Simple Sled Error - Returned when a store could not be instantiated from an existing
sled::Db
. - NewStore
Simple Sled Error - Returned when a store could not be instantiated from an empty
sled::Db
. - Store
Simple Sled Error - Returned when something goes wrong with the internal
sled::Db
.