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
sourceimpl Clone for MarineWASIConfig
impl Clone for MarineWASIConfig
sourcefn clone(&self) -> MarineWASIConfig
fn clone(&self) -> MarineWASIConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MarineWASIConfig
impl Debug for MarineWASIConfig
sourceimpl Default for MarineWASIConfig
impl Default for MarineWASIConfig
sourcefn default() -> MarineWASIConfig
fn default() -> MarineWASIConfig
Returns the “default value” for a type. Read more
sourceimpl<'c> TryFrom<WithContext<'c, TomlWASIConfig>> for MarineWASIConfig
impl<'c> TryFrom<WithContext<'c, TomlWASIConfig>> for MarineWASIConfig
type Error = MarineError
type Error = MarineError
The type returned in the event of a conversion error.
sourcefn try_from(
toml_config: WithContext<'c, TomlWASIConfig>
) -> Result<MarineWASIConfig, <MarineWASIConfig as TryFrom<WithContext<'c, TomlWASIConfig>>>::Error>
fn try_from(
toml_config: WithContext<'c, TomlWASIConfig>
) -> Result<MarineWASIConfig, <MarineWASIConfig as TryFrom<WithContext<'c, TomlWASIConfig>>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MarineWASIConfig
impl Send for MarineWASIConfig
impl Sync for MarineWASIConfig
impl Unpin for MarineWASIConfig
impl UnwindSafe for MarineWASIConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more