Module active_standby::collections[][src]

Expand description

AsLockHandle’s for common collections. Each table type has its own AsLockHandle, as opposed to RwLock where you simply pass in the table. This is because of the 2 tables, which require being synchronized, and therefore updated through the UpdateTables trait, instead of directly.

Modules

Implementation of BTreeMap for use in the active_standby model. btreemap::AsLockHandle<K, V>, should function similarly to Arc<RwLock<BK, VreeMap<K, V>>>.

Implementation of BTreeSet for use in the active_standby model. btreeset::AsLockHandle, should function similarly to Arc<RwLock<BTreeSet>>.

Implementation of HashMap for use in the active_standby model. hashsmap::AsLockHandle<K, V>, should function similarly to Arc<RwLock<HashMap<K, V>>>.

Implementation of HashSet for use in the active_standby model. hashset::AsLockHandle, should function similarly to Arc<RwLock<HashSet>>.

Implementation of Vec for use in the active_standby model. vec::AsLockHandle, should function similarly to Arc<RwLock<Vec>>.