Struct wasmtime_cache::ModuleCacheEntry
source · [−]pub struct ModuleCacheEntry<'config>(_);
Expand description
Module level cache entry.
Implementations
sourceimpl<'config> ModuleCacheEntry<'config>
impl<'config> ModuleCacheEntry<'config>
sourcepub fn new<'data>(
compiler_name: &str,
cache_config: &'config CacheConfig
) -> Self
pub fn new<'data>(
compiler_name: &str,
cache_config: &'config CacheConfig
) -> Self
Create the cache entry.
Auto Trait Implementations
impl<'config> RefUnwindSafe for ModuleCacheEntry<'config>
impl<'config> Send for ModuleCacheEntry<'config>
impl<'config> Sync for ModuleCacheEntry<'config>
impl<'config> Unpin for ModuleCacheEntry<'config>
impl<'config> UnwindSafe for ModuleCacheEntry<'config>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more