pub struct RedisInvestigationCache { /* private fields */ }Expand description
Redis-backed investigation cache.
Implementations§
Trait Implementations§
Source§impl InvestigationReportCache for RedisInvestigationCache
Available on crate feature redis-cache only.
impl InvestigationReportCache for RedisInvestigationCache
Available on crate feature
redis-cache only.Source§fn get(&self, key: &str) -> Option<InvestigationReport>
fn get(&self, key: &str) -> Option<InvestigationReport>
Look up a cached investigation report by cache key.
Source§fn put(&self, key: String, report: InvestigationReport)
fn put(&self, key: String, report: InvestigationReport)
Insert or replace a cached investigation report.
Source§fn invalidate(&self, key: &str)
fn invalidate(&self, key: &str)
Invalidate a single cache key.
Auto Trait Implementations§
impl Freeze for RedisInvestigationCache
impl RefUnwindSafe for RedisInvestigationCache
impl Send for RedisInvestigationCache
impl Sync for RedisInvestigationCache
impl Unpin for RedisInvestigationCache
impl UnsafeUnpin for RedisInvestigationCache
impl UnwindSafe for RedisInvestigationCache
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