Struct marine::TomlWASIConfig
source · pub struct TomlWASIConfig {
pub preopened_files: Option<Vec<PathBuf>>,
pub envs: Option<Table>,
pub mapped_dirs: Option<Table>,
}
Fields§
§preopened_files: Option<Vec<PathBuf>>
§envs: Option<Table>
§mapped_dirs: Option<Table>
Trait Implementations§
source§impl Clone for TomlWASIConfig
impl Clone for TomlWASIConfig
source§fn clone(&self) -> TomlWASIConfig
fn clone(&self) -> TomlWASIConfig
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 TomlWASIConfig
impl Debug for TomlWASIConfig
source§impl Default for TomlWASIConfig
impl Default for TomlWASIConfig
source§fn default() -> TomlWASIConfig
fn default() -> TomlWASIConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TomlWASIConfig
impl<'de> Deserialize<'de> for TomlWASIConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for TomlWASIConfig
impl Serialize for TomlWASIConfig
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.