pub fn hash_set<T: Hash, H: Hasher>(set: &HashSet<T>, hasher: &mut H)
Hash a HashSet.
HashSet
The standard library does not provide (yet) a Hash implementation for the HashSet type. This can be used instead.
Hash
Note that this function not particularly strong and does not protect against DoS attacks.