Struct fluence_faas::FaaSWASIConfig
source · [−]pub struct FaaSWASIConfig {
pub envs: HashMap<Vec<u8>, Vec<u8>>,
pub preopened_files: HashSet<PathBuf>,
pub mapped_dirs: HashMap<String, PathBuf>,
}
Fields
envs: HashMap<Vec<u8>, Vec<u8>>
A list of environment variables available for this module.
preopened_files: HashSet<PathBuf>
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>
Mapping from a usually short to full file name.
Trait Implementations
sourceimpl Clone for FaaSWASIConfig
impl Clone for FaaSWASIConfig
sourcefn clone(&self) -> FaaSWASIConfig
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
sourcefn default() -> FaaSWASIConfig
fn default() -> FaaSWASIConfig
Returns the “default value” for a type. Read more
sourceimpl TryFrom<TomlWASIConfig> for FaaSWASIConfig
impl TryFrom<TomlWASIConfig> for FaaSWASIConfig
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more