pub trait Cache<K = String> {
// Required methods
fn get(&self, key: &K) -> Result<CacheState>;
fn set(&self, key: &K, value: &HttpResponse) -> Result<()>;
fn update(
&self,
key: &K,
value: &HttpResponse,
field: &ResponseField,
) -> Result<()>;
}