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
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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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<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
sourceimpl Serialize for TomlWASIConfig
impl Serialize for TomlWASIConfig
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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