Struct fluence_faas::FaaSModuleConfig [−][src]
pub struct FaaSModuleConfig {
pub mem_pages_count: Option<u32>,
pub logger_enabled: bool,
pub host_imports: HashMap<String, HostImportDescriptor>,
pub wasi: Option<FaaSWASIConfig>,
pub logging_mask: i32,
}Various settings that could be used to guide FCE how to load a module in a proper way.
Fields
mem_pages_count: Option<u32>Maximum memory size accessible by a module in Wasm pages (64 Kb).
logger_enabled: boolDefines whether FaaS should provide a special host log_utf8_string function for this module.
host_imports: HashMap<String, HostImportDescriptor>Export from host functions that will be accessible on the Wasm side by provided name.
wasi: Option<FaaSWASIConfig>A WASI config.
logging_mask: i32Mask used to filter logs, for details see log_utf8_string
Implementations
Trait Implementations
impl Default for FaaSModuleConfig[src]
impl Default for FaaSModuleConfig[src]fn default() -> FaaSModuleConfig[src]
impl TryFrom<TomlFaaSModuleConfig> for FaaSModuleConfig[src]
impl TryFrom<TomlFaaSModuleConfig> for FaaSModuleConfig[src]Auto Trait Implementations
impl !RefUnwindSafe for FaaSModuleConfig
impl !RefUnwindSafe for FaaSModuleConfigimpl !Send for FaaSModuleConfig
impl !Send for FaaSModuleConfigimpl !Sync for FaaSModuleConfig
impl !Sync for FaaSModuleConfigimpl Unpin for FaaSModuleConfig
impl Unpin for FaaSModuleConfigimpl !UnwindSafe for FaaSModuleConfig
impl !UnwindSafe for FaaSModuleConfig