1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Governed collections with an explicit API.
//!
//! Storage owns every collection engine and its current format. Constructors
//! enforce explicit creation and loading without exposing raw backing.
//! Use distinct admitted allocations for owning collections. Region views retain
//! a shared lease for disjoint application frames and reload roots per operation.
//! Drop collections and all shared lease owners before reopening.
//! Collection IO and codecs return typed errors for validation and capacity
//! refusal. Backing panics/traps remain host failures; native writes are not atomic.
//! Map and set iterators yield `Result` entries and stop after an iteration error.
//! The allocation runtime enforces one live lease per allocation;
//! hosts retain exclusive custody of the backing across runtimes.
// Preserve the collection layer's pre-consolidation lint policy.
use crateDefaultMemoryImpl;
use crateRuntimeMemory;
pub use crate;
/// Storage-owned interfaces for backing bounds and record codecs.
/// Implementing `Memory` grants no allocation authority; constructors require
/// committed `RuntimeMemory` leases.
pub use crate::;
pub use CollectionError;
pub use ;
pub use StableBTreeMap;
pub use StableBTreeSet;
pub use StableCell;
pub use StableVec;
/// Ordered map iterator retaining the collection borrow.
pub type MapIter<'a, K, V, M = DefaultMemoryImpl> = TreeIter;
pub use MapEntry;
/// Ordered set iterator retaining the collection borrow.
pub type SetIter<'a, K, M = DefaultMemoryImpl> = SetIter;