Expand description
Module: cdk::structures
Responsibility: re-export stable-structure types used by Canic storage code. Does not own: schema definitions, memory allocation policy, or migrations. Boundary: keeps external stable-structure imports behind the Canic CDK facade.
Modules§
- btreeset
- This module implements a set based on a B-Tree in stable memory.
- cell
- A serializable value stored in the stable memory.
- file_
mem - log
- An append-only list data structure, also known as log.
- memory
- min_
heap - reader
- storable
- vec
- This module implements a growable array in stable memory.
- vec_mem
- writer
Structs§
- BTree
Set - A B-Tree set implementation that stores its data into a designated memory.
- Cell
- Represents a value stored in stable memory.
- File
Memory - A
Memorybacked by a file. - Log
- Append-only list of variable-size entries stored in stable memory.
- MinHeap
- An implementation of the binary min heap.
- StableB
Tree Set - A B-Tree set implementation that stores its data into a designated memory.
- Stable
Cell - Represents a value stored in stable memory.
- Stable
Log - Append-only list of variable-size entries stored in stable memory.
- Stable
MinHeap - An implementation of the binary min heap.
- Stable
Vec - An implementation of growable arrays in stable memory.
- Vec
- An implementation of growable arrays in stable memory.
Traits§
- Memory
- Abstraction over a WebAssembly-style linear memory (e.g., stable memory).
- Storable
- A trait with convenience methods for storing an element into a stable structure.
Type Aliases§
- Default
Memory Impl - Vector
Memory - A
Memorythat is based on a vector.