[−][src]Function evmap::new
pub fn new<K, V>(
) -> (WriteHandle<K, V, (), RandomState>, ReadHandle<K, V, (), RandomState>) where
K: StableHashEq + Eq + Hash + Clone,
V: StableHashEq + Eq + Hash,
Create an empty eventually consistent map.
Use the Options
builder for more control over initialization.
If you want to use arbitrary types for the keys and values, use new_assert_stable
.