pub struct DiskCache { /* private fields */ }Expand description
Cache files on disk: path.geopc under root for the file path, of
this build of the kernel (see geop_core_program::cache).
Implementations§
Source§impl DiskCache
impl DiskCache
Trait Implementations§
Source§impl CacheStore for DiskCache
impl CacheStore for DiskCache
Source§fn write(&self, path: &str, text: &str)
fn write(&self, path: &str, text: &str)
Written whole, then put in place: a run reading it meanwhile, or one cut short, sees the old file or the new, never half of one. Not written is only made again next time, so it is said on stderr and nothing else.
Auto Trait Implementations§
impl Freeze for DiskCache
impl RefUnwindSafe for DiskCache
impl Send for DiskCache
impl Sync for DiskCache
impl Unpin for DiskCache
impl UnsafeUnpin for DiskCache
impl UnwindSafe for DiskCache
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