pub trait StateCacheFiller {
type Key: Ord;
type Value;
// Required methods
fn capacity(&self) -> Option<usize>;
fn insert_unchecked(&mut self, key: Self::Key, value: Self::Value);
fn finish(self);
}
Required Associated Types§
Required Methods§
sourcefn insert_unchecked(&mut self, key: Self::Key, value: Self::Value)
fn insert_unchecked(&mut self, key: Self::Key, value: Self::Value)
Insert an entry into the cache without cache validity check.