pub trait CacheState<T>where
T: KeysInterface,{
// Required method
fn cache(&self) -> Option<T>;
}Expand description
Simple trait which the axum::extract::State should implement for using the middleware for cache retrieval
pub trait CacheState<T>where
T: KeysInterface,{
// Required method
fn cache(&self) -> Option<T>;
}Simple trait which the axum::extract::State should implement for using the middleware for cache retrieval