pub struct Config {
pub cache_dir: PathBuf,
pub max_size: u64,
pub gc_evict_shared: bool,
pub upload_spool_max_jobs: usize,
pub deferred_durability: bool,
}Expand description
Options needed by local storage; remote and compiler settings stay with the caller.
Fields§
§cache_dir: PathBuf§max_size: u64§upload_spool_max_jobs: usize§deferred_durability: boolStore new entries without an fsync on the build path and flush them later; a hit on an entry still pending verifies its bytes first.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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