pub trait CacheStore {
// Required methods
fn build(&self) -> &str;
fn read(&self, path: &str) -> Option<String>;
fn write(&self, path: &str, text: &str);
}Expand description
Where a Cache keeps what it made between processes: a folder on
disk, for a kernel run by the command line or an editor’s host process.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".