Struct fluence_app_service::TomlWASIConfig
source · [−]pub struct TomlWASIConfig {
pub preopened_files: Option<Vec<String, Global>>,
pub envs: Option<Map<String, Value>>,
pub mapped_dirs: Option<Map<String, Value>>,
}
Fields
preopened_files: Option<Vec<String, Global>>
envs: Option<Map<String, Value>>
mapped_dirs: Option<Map<String, Value>>
Trait Implementations
sourceimpl Clone for TomlWASIConfig
impl Clone for TomlWASIConfig
sourcefn clone(&self) -> TomlWASIConfig
fn clone(&self) -> TomlWASIConfig
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 TomlWASIConfig
impl Debug for TomlWASIConfig
sourceimpl Default for TomlWASIConfig
impl Default for TomlWASIConfig
sourcefn default() -> TomlWASIConfig
fn default() -> TomlWASIConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TomlWASIConfig
impl<'de> Deserialize<'de> for TomlWASIConfig
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<TomlWASIConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TomlWASIConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for TomlWASIConfig
impl Serialize for TomlWASIConfig
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl 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.
sourcefn 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 RefUnwindSafe for TomlWASIConfig
impl Send for TomlWASIConfig
impl Sync for TomlWASIConfig
impl Unpin for TomlWASIConfig
impl UnwindSafe for TomlWASIConfig
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