Struct fluence_app_service::FaaSModuleConfig[][src]

pub struct FaaSModuleConfig {
    pub mem_pages_count: Option<u32>,
    pub logger_enabled: bool,
    pub host_imports: HashMap<String, HostImportDescriptor, RandomState>,
    pub wasi: Option<FaaSWASIConfig>,
    pub logging_mask: i32,
}
Expand description

Various settings that could be used to guide Marine how to load a module in a proper way.

Fields

mem_pages_count: Option<u32>

Maximum memory size accessible by a module in Wasm pages (64 Kb).

logger_enabled: bool

Defines whether FaaS should provide a special host log_utf8_string function for this module.

host_imports: HashMap<String, HostImportDescriptor, RandomState>

Export from host functions that will be accessible on the Wasm side by provided name.

wasi: Option<FaaSWASIConfig>

A WASI config.

logging_mask: i32

Mask used to filter logs, for details see log_utf8_string

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.