[][src]Function evmap::new_assert_stable

pub unsafe fn new_assert_stable<K, V>(
) -> (WriteHandle<K, V, (), RandomState>, ReadHandle<K, V, (), RandomState>) where
    K: Eq + Hash + Clone,
    V: Eq + Hash

Create an empty eventually consistent map.

Use the Options builder for more control over initialization.

Safety

This method is safe to call as long as the implementation of Hash and Eq for both K and V are deterministic. That is, they must always yield the same result if given the same inputs.