dag_executor/storage/mod.rs
1//! Persistence layer.
2//!
3//! The engine talks to the [`Storage`] trait only. Two backends ship in-box:
4//! [`FileStorage`] (checksummed, with selectable [`Durability`]) and
5//! [`MemoryStorage`] (ephemeral). [`Cache`] is a write-through LRU that can wrap
6//! either.
7
8mod cache;
9mod file_storage;
10
11pub use cache::Cache;
12pub use file_storage::{Durability, FileStorage, MemoryStorage, Storage, StorageResult};