pub trait CacheKvStore {
// Required methods
fn get(&self, key: &[u8]) -> Option<Cow<'_, [u8]>>;
fn insert(&mut self, key: &[u8], val: Vec<u8>);
}
Expand description
Backing storage for an incremental compilation cache, when enabled.
pub trait CacheKvStore {
// Required methods
fn get(&self, key: &[u8]) -> Option<Cow<'_, [u8]>>;
fn insert(&mut self, key: &[u8], val: Vec<u8>);
}
Backing storage for an incremental compilation cache, when enabled.