pub trait SourceCache<T: Convenient>: Default + Debug {
    type Value: Convenient;

    fn update(&mut self, value: T);
    fn get(&self, current: Option<T>) -> Option<Self::Value>;
}
Expand description

A value caching strategy.

Required Associated Types

Required Methods

Implementors