Function with_hasher

Source
pub unsafe fn with_hasher<K, V, S>(
    hasher: S,
) -> (WriteHandle<K, V, S>, ReadHandle<K, V, S>)
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.