pub trait CacheInputs { fn add(&mut self, input: &[u8]); fn hash(&self) -> String; }
Gathers inputs to be hashed to determine a cache key.
Add data to the cache key.
Generate a cache key from the collected inputs so far.