Function libredr_common::message::map_cache_data
source ยท pub fn map_cache_data<R, F>(
hash: &Hash,
data_cache: &DataCache,
f: F,
) -> Result<R>
Expand description
Get hash
data from data_cache
, return result of f(data)
To prevent data copy, data
is not returned