- change function definition to
pub fn get<Q>(&self, key: &Q) -> Option<ValueRef<V, S>> where K: core::borrow::Borrow<Q>, Q: core::hash::Hash + Eq, pub fn get_mut<Q>(&self, key: &Q) -> Option<ValueRefMut<V, S>> where K: core::borrow::Borrow<Q>, Q: core::hash::Hash + Eq, pub fn get_ttl<Q>(&self, key: &Q) -> Option<Duration> where K: core::borrow::Borrow<Q>, Q: core::hash::Hash + Eq,
- Use associated type for traits
- Support runtime agnostic
AsyncCache