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>, }
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
impl Default for FaaSConfig
[src]
impl Default for FaaSConfig
[src]pub fn default() -> FaaSConfig
[src]
pub fn default() -> FaaSConfig
[src]Returns the “default value” for a type. Read more
impl TryFrom<TomlFaaSConfig> for FaaSConfig
[src]
impl TryFrom<TomlFaaSConfig> for FaaSConfig
[src]pub fn try_from(
toml_config: TomlFaaSConfig
) -> Result<FaaSConfig, <FaaSConfig as TryFrom<TomlFaaSConfig>>::Error>
[src]
pub fn try_from(
toml_config: TomlFaaSConfig
) -> Result<FaaSConfig, <FaaSConfig as TryFrom<TomlFaaSConfig>>::Error>
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for FaaSConfig
impl !Send for FaaSConfig
impl !Sync for FaaSConfig
impl Unpin for FaaSConfig
impl !UnwindSafe for FaaSConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self