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
sourcepub fn clone(&self) -> TomlWASIConfig
pub 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
sourcepub fn default() -> TomlWASIConfig
pub fn default() -> TomlWASIConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TomlWASIConfig
impl<'de> Deserialize<'de> for TomlWASIConfig
sourcepub fn deserialize<__D>(
__deserializer: __D
) -> Result<TomlWASIConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub 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
sourcepub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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 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 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 · 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> Serialize for T where
T: Serialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
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