[−][src]Struct fluence_app_service::ModuleConfig 
Various settings that could be used to guide FCE 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: boolDefines whether FaaS should provide a special host log_utf8_string function for this module.
imports: Option<Vec<(String, String)>>A list of CLI host imports that should be provided for this module.
wasi: Option<WASIConfig>A WASI config.
Implementations
impl ModuleConfig[src]
pub fn extend_wasi_envs(self, new_envs: Vec<Vec<u8>>) -> ModuleConfig[src]
pub fn extend_wasi_files(
    self, 
    new_preopened_files: Vec<String>, 
    new_mapped_dirs: Vec<(String, String)>
) -> ModuleConfig[src]
self,
new_preopened_files: Vec<String>,
new_mapped_dirs: Vec<(String, String)>
) -> ModuleConfig
Trait Implementations
impl Clone for ModuleConfig[src]
fn clone(&self) -> ModuleConfig[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ModuleConfig[src]
impl Default for ModuleConfig[src]
fn default() -> ModuleConfig[src]
impl TryInto<ModuleConfig> for RawModuleConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for ModuleConfig
impl Send for ModuleConfig
impl Sync for ModuleConfig
impl Unpin for ModuleConfig
impl UnwindSafe for ModuleConfig
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,