Struct fluence_app_service::FaaSWASIConfig
source · [−]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
sourceimpl Clone for FaaSWASIConfig
impl Clone for FaaSWASIConfig
sourcepub fn clone(&self) -> FaaSWASIConfig
pub fn clone(&self) -> FaaSWASIConfig
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 FaaSWASIConfig
impl Debug for FaaSWASIConfig
sourceimpl Default for FaaSWASIConfig
impl Default for FaaSWASIConfig
sourcepub fn default() -> FaaSWASIConfig
pub fn default() -> FaaSWASIConfig
Returns the “default value” for a type. Read more
sourceimpl TryFrom<TomlWASIConfig> for FaaSWASIConfig
impl TryFrom<TomlWASIConfig> for FaaSWASIConfig
sourcepub 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more