Skip to main content

cache_key

Function cache_key 

Source
pub fn cache_key(value: &impl Hash) -> u64
Expand description

Compute a hash key for caching from any hashable value.

Useful for creating cache keys from query components.