consistent_hash

Function consistent_hash 

Source
pub fn consistent_hash(key: &str, buckets: u32) -> u32
Expand description

Consistent hashing to bucket index [0, buckets)