ic-storage 0.80.5

Named stable-memory allocations and owned stable B-tree and Cell collections
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Storage-owned collections over exclusive named allocations.
mod cell;
mod error;
mod map;
mod record;
#[cfg(test)]
mod tests;
mod tree;
pub use crate::{Memory, storable};
pub use cell::StableCell;
pub use map::{BTreeMapOptions, StableBTreeMap};
pub use storable::{Bound, Storable};
pub use tree::MapEntry;
/// Bidirectional ordered iterator over a governed map.
pub type MapIter<'a, K, V, M = crate::DefaultMemoryImpl> =
    tree::TreeIter<'a, K, V, crate::RuntimeMemory<M>>;