Type Alias libredr_common::message::DataCache
source · pub type DataCache = Arc<Mutex<HashMap<Hash, (i64, Data)>>>;Expand description
Type for lazy-loading data cache
hash -> (access time, data)
Aliased Type§
struct DataCache { /* private fields */ }Trait Implementations§
1.52.0 · source§impl<T> Error for Arc<T, Global>where
T: Error + ?Sized,
impl<T> Error for Arc<T, Global>where T: Error + ?Sized,
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting