Expand description
Storage abstraction for Solid pods.
The Storage trait is the sole interface between the Solid
protocol layer and concrete persistence backends. Implementations
must be Send + Sync + 'static and safe for concurrent access.
Two backends ship with the crate:
memory::MemoryBackend— in-memory, ideal for tests.fs::FsBackend— filesystem-rooted, usestokio::fsandnotifyfor change events.
Modules§
Structs§
- Resource
Meta - Metadata describing a resource stored in a pod.
Enums§
- Storage
Event - Change events emitted by storage watchers.
Traits§
- Storage
- The storage abstraction. Implementations back a Solid pod with arbitrary persistence.