pub struct FileCache { /* private fields */ }
Implementations§
Source§impl FileCache
impl FileCache
pub fn new(config: Arc<dyn ConfigProperties>) -> Self
pub fn validate_cache_location(&self) -> Result<()>
pub fn get_cache_file(&self, url: &str) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileCache
impl !RefUnwindSafe for FileCache
impl Send for FileCache
impl Sync for FileCache
impl Unpin for FileCache
impl !UnwindSafe for FileCache
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