pub unsafe fn with_hasher<K, V, S>(
    hasher: S
) -> (WriteHandle<K, V, S>, ReadHandle<K, V, S>) where
    K: TrustedHashEq,
    S: Clone + BuildHasher
Expand description

Creates a new map with the specified hasher.

If you wish to specify additional parameters, see Builder.

Safety

The given hasher builder must produce a deterministic hasher. In other words, the built hasher must always produce the same hash given the same input and initial state.