Struct fluence_app_service::FaaSWASIConfig [−][src]
pub struct FaaSWASIConfig {
pub envs: HashMap<Vec<u8, Global>, Vec<u8, Global>, RandomState>,
pub preopened_files: HashSet<PathBuf, RandomState>,
pub mapped_dirs: HashMap<String, PathBuf, RandomState>,
}
Fields
envs: HashMap<Vec<u8, Global>, Vec<u8, Global>, RandomState>
A list of environment variables available for this module.
preopened_files: HashSet<PathBuf, RandomState>
A list of files available for this module. A loaded module could have access only to files from this list.
mapped_dirs: HashMap<String, PathBuf, RandomState>
Mapping from a usually short to full file name.
Trait Implementations
Returns the “default value” for a type. Read more
pub fn try_from(
toml_config: TomlWASIConfig
) -> Result<FaaSWASIConfig, <FaaSWASIConfig as TryFrom<TomlWASIConfig>>::Error>
pub fn try_from(
toml_config: TomlWASIConfig
) -> Result<FaaSWASIConfig, <FaaSWASIConfig as TryFrom<TomlWASIConfig>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FaaSWASIConfig
impl Send for FaaSWASIConfig
impl Sync for FaaSWASIConfig
impl Unpin for FaaSWASIConfig
impl UnwindSafe for FaaSWASIConfig
Blanket Implementations
Mutably borrows from an owned value. Read more