pub trait CacheKvStore {
// Required methods
fn get(&self, key: &[u8]) -> Option<Cow<'_, [u8]>>;
fn insert(&mut self, key: &[u8], val: Vec<u8>);
}Available on crate feature
incremental-cache only.Expand description
Backing storage for an incremental compilation cache, when enabled.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".