Struct fluence_app_service::MarineWASIConfig
source · pub struct MarineWASIConfig {
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§
source§impl Clone for MarineWASIConfig
impl Clone for MarineWASIConfig
source§fn clone(&self) -> MarineWASIConfig
fn clone(&self) -> MarineWASIConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MarineWASIConfig
impl Debug for MarineWASIConfig
source§impl Default for MarineWASIConfig
impl Default for MarineWASIConfig
source§fn default() -> MarineWASIConfig
fn default() -> MarineWASIConfig
Returns the “default value” for a type. Read more
source§impl TryFrom<TomlWASIConfig> for MarineWASIConfig
impl TryFrom<TomlWASIConfig> for MarineWASIConfig
§type Error = MarineError
type Error = MarineError
The type returned in the event of a conversion error.
source§fn try_from(
toml_config: TomlWASIConfig
) -> Result<MarineWASIConfig, <MarineWASIConfig as TryFrom<TomlWASIConfig>>::Error>
fn try_from(
toml_config: TomlWASIConfig
) -> Result<MarineWASIConfig, <MarineWASIConfig as TryFrom<TomlWASIConfig>>::Error>
Performs the conversion.