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 TryFrom<TomlFaaSConfig> for FaaSConfig[src]

type Error = FaaSError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.