Trait Cacheable
isla_lib::cache
pub trait Cacheable: Serialize + DeserializeOwned { type Key: Cachekey; fn from_cache<P: AsRef<Path>>(key: Self::Key, cache: P) -> Option<Self> { ... } fn cache<P: AsRef<Path>>(&self, key: Self::Key, cache: P) { ... } }
type Key: Cachekey
fn from_cache<P: AsRef<Path>>(key: Self::Key, cache: P) -> Option<Self>
fn cache<P: AsRef<Path>>(&self, key: Self::Key, cache: P)