Struct fluence_app_service::MarineConfig
source · pub struct MarineConfig {
pub modules_dir: Option<PathBuf>,
pub modules_config: Vec<ModuleDescriptor, Global>,
pub default_modules_config: Option<MarineModuleConfig>,
}
Expand description
Describes the behaviour of the Marine component.
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<MarineModuleConfig>
Settings for a module that name’s not been found in modules_config.
Trait Implementations§
source§impl Default for MarineConfig
impl Default for MarineConfig
source§fn default() -> MarineConfig
fn default() -> MarineConfig
Returns the “default value” for a type. Read more
source§impl TryFrom<TomlMarineConfig> for MarineConfig
impl TryFrom<TomlMarineConfig> for MarineConfig
§type Error = MarineError
type Error = MarineError
The type returned in the event of a conversion error.
source§fn try_from(
toml_config: TomlMarineConfig
) -> Result<MarineConfig, <MarineConfig as TryFrom<TomlMarineConfig>>::Error>
fn try_from( toml_config: TomlMarineConfig ) -> Result<MarineConfig, <MarineConfig as TryFrom<TomlMarineConfig>>::Error>
Performs the conversion.