Struct sc_executor_wasmtime::Config
source · pub struct Config {
pub allow_missing_func_imports: bool,
pub cache_path: Option<PathBuf>,
pub semantics: Semantics,
}
Fields§
§allow_missing_func_imports: bool
The WebAssembly standard requires all imports of an instantiated module to be resolved,
otherwise, the instantiation fails. If this option is set to true
, then this behavior is
overriden and imports that are requested by the module and not provided by the host
functions will be resolved using stubs. These stubs will trap upon a call.
cache_path: Option<PathBuf>
A directory in which wasmtime can store its compiled artifacts cache.
semantics: Semantics
Tuning of various semantics of the wasmtime executor.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.