pub trait CacheKey {
// Required method
fn cache_key(&self, state: &mut CacheKeyHasher);
}Expand description
Trait for values that can contribute to a deterministic package cache key.
Required Methods§
Sourcefn cache_key(&self, state: &mut CacheKeyHasher)
fn cache_key(&self, state: &mut CacheKeyHasher)
Write this value into the structured cache-key hasher.