Struct fluence_app_service::FaaSConfig [−][src]
pub struct FaaSConfig {
pub modules_dir: Option<PathBuf>,
pub modules_config: Vec<ModuleDescriptor, Global>,
pub default_modules_config: Option<FaaSModuleConfig>,
}
Expand description
Describes the behaviour of FluenceFaaS.
Fields
modules_dir: Option<PathBuf>
Path to a dir where compiled Wasm modules are located.
modules_config: Vec<ModuleDescriptor, Global>
Settings for a module with particular name (not HashMap because the order is matter).
default_modules_config: Option<FaaSModuleConfig>
Settings for a module that name’s not been found in modules_config.
Trait Implementations
Returns the “default value” for a type. Read more
pub fn try_from(
toml_config: TomlFaaSConfig
) -> Result<FaaSConfig, <FaaSConfig as TryFrom<TomlFaaSConfig>>::Error>
pub fn try_from(
toml_config: TomlFaaSConfig
) -> Result<FaaSConfig, <FaaSConfig as TryFrom<TomlFaaSConfig>>::Error>
Performs the conversion.