aboutsummaryrefslogtreecommitdiff
path: root/src/cache/cache_update.rs
blob: a05cc3d59dc4cff98089620ff18f4f851efdc611 (plain) (blame)
1
2
3
4
5
6
7
use super::Cache;

pub(crate) trait CacheUpdate {
    type Output;

    fn update(&mut self, &mut Cache) -> Option<Self::Output>;
}