ppom/arc.rs
1//! Module implement fully-persistent ordered-map, slower but thread safe.
2
3use std::sync::Arc as Ref;
4
5#[path = "./ppom.rs"]
6mod ppom;
7
8pub use self::ppom::OMap;
9
10impl<K, V> OMap<K, V> {
11 /// Return whether this instance is thread-safe.
12 pub fn is_thread_safe(&self) -> bool {
13 true
14 }
15}
16
17#[cfg(test)]
18#[path = "arc_test.rs"]
19mod arc_test;