Module storage

Module storage 

Source
Expand description

Storage for Willow entries.

This module provides traits for abstracting over concrete storage backends for Willow stores, and a non-persistent, in-memory implementation of these traits — the MemoryStore.

Structs§

MapErr
A bulk producer wrapper which changes the error (type) of the wrapped producer, by passing errors through a function.
MemoryStore
A non-persistent, in-memory Willow store implementation.

Enums§

CreateEntryError
The errors that can be encountered when creating an entry (from a producer emitting the payload).
NondestructiveInsert
The possible successful outcomes of non-destructively inserting an AuthorisedEntry into a Store.
PayloadProducerError
The errors that can be encountered when producing a payload.

Traits§

Store
The most basic trait describing storage for Entry.