common_meta::cluster

Function calculate_node_id

Source
fn calculate_node_id(addr: &str) -> u64
Expand description

Calculate (by using the DefaultHasher) the node’s id from its address.