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