Home
last modified time | relevance | path

Searched refs:CacheConfig (Results 1 – 6 of 6) sorted by relevance

/wasmtime-44.0.1/crates/cache/src/config/
H A Dtests.rs1 use super::CacheConfig;
24 CacheConfig::from_file(Some(config_path)).unwrap()
33 assert!(CacheConfig::from_file(Some(config_path)).is_err());
99 fn check_conf(conf: &CacheConfig, cd: &PathBuf) { in test_all_settings() argument
465 let expected_config = CacheConfig::from_file(Some(&cp)).unwrap(); in test_builder_default()
467 let mut config = CacheConfig::new(); in test_builder_default()
520 let mut conf = CacheConfig::new(); in test_builder_all_settings()
536 fn check_conf(conf: &CacheConfig, cd: &PathBuf) { in test_builder_all_settings() argument
/wasmtime-44.0.1/crates/cache/src/
H A Dlib.rs26 pub use config::{CacheConfig, create_new_config};
32 config: CacheConfig,
54 pub fn new(mut config: CacheConfig) -> Result<Self> { in new()
81 let config = CacheConfig::from_file(path)?; in from_file()
H A Dconfig.rs20 cache: CacheConfig,
26 pub struct CacheConfig { struct
94 impl Default for CacheConfig { argument
317 impl CacheConfig { implementation
H A Dworker.rs19 use super::{CacheConfig, fs_write_atomic};
47 cache_config: CacheConfig,
67 pub(super) fn start_new(cache_config: &CacheConfig) -> Self { in start_new()
169 fn default(cache_config: &CacheConfig) -> Self { in default()
544 cache_config: &CacheConfig, in list_cache_contents() argument
H A Dtests.rs23 let cache_config = CacheConfig::from_file(Some(&config_path)).unwrap(); in test_cache_init()
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dconfig.rs31 pub use wasmtime_cache::{Cache, CacheConfig};