Struct fluence_faas::FaaSConfig
source · [−]pub struct FaaSConfig {
pub modules_dir: Option<PathBuf>,
pub modules_config: Vec<ModuleDescriptor>,
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>
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
sourceimpl Default for FaaSConfig
impl Default for FaaSConfig
sourcefn default() -> FaaSConfig
fn default() -> FaaSConfig
Returns the “default value” for a type. Read more
sourceimpl TryFrom<TomlFaaSConfig> for FaaSConfig
impl TryFrom<TomlFaaSConfig> for FaaSConfig
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more