A better Rust ATProto crate
1

Configure Feed

Select the types of activity you want to include in your feed.

at main 535 B View raw
1//! Provides a thread-safe, concurrent cache implementation built upon 2//! [`dashmap::DashMap`][dashmap]. 3//! 4//! [dashmap]: https://docs.rs/dashmap/*/dashmap/struct.DashMap.html 5 6mod base_cache; 7mod builder; 8mod cache; 9mod iter; 10mod mapref; 11 12pub use builder::CacheBuilder; 13pub use cache::Cache; 14pub use iter::Iter; 15pub use mapref::EntryRef; 16 17/// Provides extra methods that will be useful for testing. 18pub trait ConcurrentCacheExt<K, V> { 19 /// Performs any pending maintenance operations needed by the cache. 20 fn sync(&self); 21}