Struct marine::TomlWASIConfig
source · pub struct TomlWASIConfig {
pub envs: Option<Table>,
pub mapped_dirs: Option<Table>,
}
Fields§
§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.
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§
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
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§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.