pub struct ConfigCache { /* private fields */ }Expand description
Configuration cache
Caches parsed configuration files to avoid redundant parsing. Supports both global and project-level configuration caching.
Implementations§
Source§impl ConfigCache
impl ConfigCache
Sourcepub fn invalidate(&self, config_path: &Path) -> StorageResult<bool>
pub fn invalidate(&self, config_path: &Path) -> StorageResult<bool>
Sourcepub fn clear(&self) -> StorageResult<()>
pub fn clear(&self) -> StorageResult<()>
Sourcepub fn cleanup_expired(&self) -> StorageResult<usize>
pub fn cleanup_expired(&self) -> StorageResult<usize>
Auto Trait Implementations§
impl Freeze for ConfigCache
impl RefUnwindSafe for ConfigCache
impl Send for ConfigCache
impl Sync for ConfigCache
impl Unpin for ConfigCache
impl UnwindSafe for ConfigCache
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