Struct wasmtime_cli_flags::WasiModules
source · pub struct WasiModules {
pub wasi_common: bool,
pub wasi_crypto: bool,
pub wasi_nn: bool,
pub wasi_threads: bool,
}
Expand description
Select which WASI modules are available at runtime for use by Wasm programs.
Fields§
§wasi_common: bool
Enable the wasi-common implementation; eventually this should be split into its separate parts once the implementation allows for it (e.g. wasi-fs, wasi-clocks, etc.).
wasi_crypto: bool
Enable the experimental wasi-crypto implementation.
wasi_nn: bool
Enable the experimental wasi-nn implementation.
wasi_threads: bool
Enable the experimental wasi-threads implementation.
Implementations§
source§impl WasiModules
impl WasiModules
Trait Implementations§
source§impl Clone for WasiModules
impl Clone for WasiModules
source§fn clone(&self) -> WasiModules
fn clone(&self) -> WasiModules
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WasiModules
impl Debug for WasiModules
source§impl Default for WasiModules
impl Default for WasiModules
source§impl PartialEq<WasiModules> for WasiModules
impl PartialEq<WasiModules> for WasiModules
source§fn eq(&self, other: &WasiModules) -> bool
fn eq(&self, other: &WasiModules) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.