pub struct CacheManager { /* private fields */ }Implementations§
Source§impl CacheManager
impl CacheManager
pub fn new(base_path: &str, no_cache: bool) -> Self
pub fn set_file_info(&mut self)
pub fn get_cache(&self) -> &CacheInfo
pub fn save(&self)
Sourcepub fn refresh_cache(&mut self)
pub fn refresh_cache(&mut self)
Refresh all files marked as NeedsRefresh in the cache Updates cache entries in memory without saving to disk
Trait Implementations§
Source§impl Drop for CacheManager
impl Drop for CacheManager
Auto Trait Implementations§
impl Freeze for CacheManager
impl RefUnwindSafe for CacheManager
impl Send for CacheManager
impl Sync for CacheManager
impl Unpin for CacheManager
impl UnsafeUnpin for CacheManager
impl UnwindSafe for CacheManager
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