pub struct TomlMarineModuleConfig {
pub mem_pages_count: Option<u32>,
pub max_heap_size: Option<ByteSize>,
pub logger_enabled: Option<bool>,
pub logging_mask: Option<i32>,
pub wasi: Option<TomlWASIConfig>,
pub mounted_binaries: Option<Map<String, Value>>,
}
Fields
mem_pages_count: Option<u32>
max_heap_size: Option<ByteSize>
logger_enabled: Option<bool>
logging_mask: Option<i32>
wasi: Option<TomlWASIConfig>
mounted_binaries: Option<Map<String, Value>>
Trait Implementations
sourceimpl Clone for TomlMarineModuleConfig
impl Clone for TomlMarineModuleConfig
sourcefn clone(&self) -> TomlMarineModuleConfig
fn clone(&self) -> TomlMarineModuleConfig
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 TomlMarineModuleConfig
impl Debug for TomlMarineModuleConfig
sourceimpl Default for TomlMarineModuleConfig
impl Default for TomlMarineModuleConfig
sourcefn default() -> TomlMarineModuleConfig
fn default() -> TomlMarineModuleConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TomlMarineModuleConfig
impl<'de> Deserialize<'de> for TomlMarineModuleConfig
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<TomlMarineModuleConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TomlMarineModuleConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for TomlMarineModuleConfig
impl Serialize for TomlMarineModuleConfig
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<TomlMarineModuleConfig> for MarineModuleConfig
impl TryFrom<TomlMarineModuleConfig> for MarineModuleConfig
type Error = MarineError
type Error = MarineError
The type returned in the event of a conversion error.
sourcefn try_from(
toml_config: TomlMarineModuleConfig
) -> Result<MarineModuleConfig, <MarineModuleConfig as TryFrom<TomlMarineModuleConfig>>::Error>
fn try_from(
toml_config: TomlMarineModuleConfig
) -> Result<MarineModuleConfig, <MarineModuleConfig as TryFrom<TomlMarineModuleConfig>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TomlMarineModuleConfig
impl Send for TomlMarineModuleConfig
impl Sync for TomlMarineModuleConfig
impl Unpin for TomlMarineModuleConfig
impl UnwindSafe for TomlMarineModuleConfig
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