add traits required by IsCached (#19066)

This commit is contained in:
Jeff Washington (jwash)
2021-08-05 08:43:00 -05:00
committed by GitHub
parent 14361906ca
commit 087db70df6

View File

@ -42,7 +42,7 @@ pub type AccountMap<K, V> = BTreeMap<K, V>;
type AccountMapEntry<T> = Arc<AccountMapEntryInner<T>>;
pub trait IsCached {
pub trait IsCached: 'static + Clone + Debug {
fn is_cached(&self) -> bool;
}