pub fn freshness() -> CacheFreshness {
        match Cache::last_update() {
            Some(ago) if ago > crate::config::MAX_CACHE_AGE => CacheFreshness::Stale(ago),
            Some(_) => CacheFreshness::Fresh,
            None => CacheFreshness::Missing,
        }
    }
/// Return the freshness of the cache (fresh, stale or missing).
Return the freshness of the cache (fresh, stale or missing).
Return the freshness of the cache ( fresh stale or missing ) .
pub fn freshness() -> CacheFreshness {
        match Cache::last_update() {
            Some(ago) if ago > crate::config::MAX_CACHE_AGE => CacheFreshness::Stale(ago),
            Some(_) => CacheFreshness::Fresh,
            None => CacheFreshness::Missing,
        }
    }
pub fn freshness ( ) -> CacheFreshness { match Cache :: last_update ( ) { Some ( ago ) if ago > crate :: config :: MAX_CACHE_AGE => CacheFreshness :: Stale ( ago ) , Some ( _ ) => CacheFreshness :: Fresh , None => CacheFreshness :: Missing , } }
Return the freshness of the cache (fresh, stale or missing).
Return the freshness of the cache ( fresh stale or missing ) .