Struct fluence_app_service::MarineWASIConfig
source · pub struct MarineWASIConfig {
pub envs: HashMap<String, String>,
pub mapped_dirs: HashMap<String, PathBuf>,
}
Fields§
§envs: HashMap<String, String>
A list of environment variables available for this module.
mapped_dirs: HashMap<String, PathBuf>
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.
Auto Trait Implementations§
impl Freeze for MarineWASIConfig
impl RefUnwindSafe for MarineWASIConfig
impl Send for MarineWASIConfig
impl Sync for MarineWASIConfig
impl Unpin for MarineWASIConfig
impl UnwindSafe for MarineWASIConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more