Type Alias fluence_app_service::MarineModuleConfig
source · pub type MarineModuleConfig = MarineModuleConfig<WasmtimeWasmBackend>;Aliased Type§
struct MarineModuleConfig {
pub mem_pages_count: Option<u32>,
pub max_heap_size: Option<u64>,
pub logger_enabled: bool,
pub host_imports: HashMap<String, HostImportDescriptor<WasmtimeWasmBackend>>,
pub wasi: Option<MarineWASIConfig>,
pub logging_mask: i32,
}Fields§
§mem_pages_count: Option<u32>Maximum memory size accessible by a module in Wasm pages (64 Kb).
max_heap_size: Option<u64>Maximum memory size for heap of Wasm module in bytes, if it set, mem_pages_count ignored.
logger_enabled: boolDefines whether Marine should provide a special host log_utf8_string function for this module.
host_imports: HashMap<String, HostImportDescriptor<WasmtimeWasmBackend>>Export from host functions that will be accessible on the Wasm side by provided name.
wasi: Option<MarineWASIConfig>A WASI config.
logging_mask: i32Mask used to filter logs, for details see log_utf8_string