Common/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#![allow(non_snake_case, non_camel_case_types)]
16
17// --- Trait Definition ---
18pub mod StorageProvider;
19
20// --- Effect Constructors ---
21// Legacy per-key effects
22pub mod GetStorageItem;
23
24pub mod SetStorageItem;