pub struct TaggedCacheManager<B, R>where
B: CacheBackend,
R: TagRegistry,{ /* private fields */ }Expand description
High-level tagged cache API
Implementations§
Source§impl<B, R> TaggedCacheManager<B, R>where
B: CacheBackend,
R: TagRegistry,
impl<B, R> TaggedCacheManager<B, R>where
B: CacheBackend,
R: TagRegistry,
pub fn new(backend: B, registry: R) -> Self
Remember pattern with tags
Invalidate cache by tags
Tag management operations
pub async fn get_tagged_keys(&self, tag: &str) -> CacheResult<Vec<String>>
Auto Trait Implementations§
impl<B, R> Freeze for TaggedCacheManager<B, R>where
TaggedCache<B, R>: Freeze,
impl<B, R> RefUnwindSafe for TaggedCacheManager<B, R>where
TaggedCache<B, R>: RefUnwindSafe,
impl<B, R> Send for TaggedCacheManager<B, R>where
TaggedCache<B, R>: Send,
impl<B, R> Sync for TaggedCacheManager<B, R>where
TaggedCache<B, R>: Sync,
impl<B, R> Unpin for TaggedCacheManager<B, R>where
TaggedCache<B, R>: Unpin,
impl<B, R> UnsafeUnpin for TaggedCacheManager<B, R>where
TaggedCache<B, R>: UnsafeUnpin,
impl<B, R> UnwindSafe for TaggedCacheManager<B, R>where
TaggedCache<B, R>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more