Struct wasmtime_cache::CacheConfig [−][src]
pub struct CacheConfig { /* fields omitted */ }
Expand description
Global configuration for how the cache is managed
Implementations
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns $setting
.
Panics if the cache is disabled.
Returns path to the cache directory.
Panics if the cache is disabled.
Creates a new set of configuration which represents a disabled cache
Parses cache configuration from the file specified
Returns the number of cache hits seen so far
Returns the number of cache misses seen so far
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CacheConfig
impl Send for CacheConfig
impl Sync for CacheConfig
impl Unpin for CacheConfig
impl UnwindSafe for CacheConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self