CommonLibrary/Storage/
mod.rs

1// File: Common/Source/Storage/mod.rs
2// Role: Public module interface for the Storage service contract.
3// Responsibilities:
4//   - Expose all necessary traits and effect constructors related to storage.
5//   - This contract includes both a high-performance batch-oriented API
6//     (`GetAllStorage`, `SetAllStorage`) and a legacy per-key API.
7
8//! # Storage Service
9//!
10//! This module defines the abstract contract for the Storage service, which
11//! provides Memento-style persistent key-value storage for extensions. It
12//! includes the `StorageProvider` trait and the `ActionEffect` constructors
13//! for all storage operations.
14
15// --- Trait Definition ---
16pub mod StorageProvider;
17
18// --- Effect Constructors ---
19// Legacy per-key effects
20pub mod GetStorageItem;
21
22pub mod SetStorageItem;