[][src]Struct fluence_faas::ModulesConfig

pub struct ModulesConfig {
    pub service_base_dir: Option<String>,
    pub modules_dir: Option<String>,
    pub modules_config: Vec<(String, ModuleConfig)>,
    pub default_modules_config: Option<ModuleConfig>,
}

Describes behaviour of all modules from a node.

Fields

service_base_dir: Option<String>

Used for preparing filesystem on the service initialization stage. TODO: do we need that dir to be optional? We require it on creation anyways

modules_dir: Option<String>

Path to a dir where compiled Wasm modules are located.

modules_config: Vec<(String, ModuleConfig)>

Settings for a module with particular name.

default_modules_config: Option<ModuleConfig>

Settings for a module that name's not been found in modules_config.

Trait Implementations

impl Clone for ModulesConfig[src]

impl Debug for ModulesConfig[src]

impl Default for ModulesConfig[src]

impl TryInto<ModulesConfig> for RawModulesConfig[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> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.