icydb-core 0.203.1

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::model::field::FieldKind;

///
/// StorageStrategy
///
/// StorageStrategy is the private lane descriptor for persisted row codec
/// operations.
/// It intentionally describes the selected storage lane only; encoding,
/// decoding, traversal, and runtime-value bridging stay with their owning
/// helpers in sibling modules.
///

#[derive(Clone, Copy)]
pub(in crate::db::data::persisted_row::codec) enum StorageStrategy {
    Scalar,
    ByKind(FieldKind),
    Structured,
}