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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}