pub trait Cacheable: Any + Send + Sync { // Required methods fn load() -> Result<Self> where Self: Sized; fn store(&self) -> Result<()>; }
A type that can be cached.
Load Cacheable from the storage
Write Cacheable back to storage.