Expand description
A very simple wrapper to handle locked storage of items.
Provides an abstraction over storage backends. The core idea is that storage items will be locked in storage and stay hot in memory for a while.
Note: The documentation is still work-in-progress.
Structs§
- External
Id - An identifier for external systems with a prefix
- Random
Id - A nanoid-based random identifier
- Sequential
Id - A sequential numeric identifier
- Simple
External Id - An identifier for external systems
- Storage
Disk - Storage
Dynamo Db - Storage
Lock - Represents an exclusive lock on a storage item.
- Storage
Null
Enums§
- Lock
NewResult - Result type for lock operations specifically on new items.
- Lock
Result - Result type for lock operations on existing or new items.
Traits§
- Storage
- Storage is the core trait for interacting with stored items.
- Storage
Id - Trait for storage item identifiers
- Storage
Item - The
trait
your items need to implement to be storable