pub struct FsCache { /* private fields */ }Expand description
Filesystem-backed evidence cache.
Stores bundles as JSON files in a directory, keyed by a sanitized
filename derived from the cache key. Files older than ttl seconds
are treated as expired.
Implementations§
Trait Implementations§
Source§impl EvidenceCache for FsCache
impl EvidenceCache for FsCache
Auto Trait Implementations§
impl Freeze for FsCache
impl RefUnwindSafe for FsCache
impl Send for FsCache
impl Sync for FsCache
impl Unpin for FsCache
impl UnsafeUnpin for FsCache
impl UnwindSafe for FsCache
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