Struct wasmedge_sdk::config::RuntimeConfigOptions
source · pub struct RuntimeConfigOptions { /* private fields */ }
Expand description
Defines a group of runtime configuration options.
RuntimeConfigOptions is used to set the runtime configuration options, which are
Implementations§
source§impl RuntimeConfigOptions
impl RuntimeConfigOptions
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new instance of RuntimeConfigOptions.
sourcepub fn max_memory_pages(self, count: u32) -> Self
pub fn max_memory_pages(self, count: u32) -> Self
Sets the maximum number of the memory pages available.
Argument
count
specifies the page count (64KB per page).
Trait Implementations§
source§impl Clone for RuntimeConfigOptions
impl Clone for RuntimeConfigOptions
source§fn clone(&self) -> RuntimeConfigOptions
fn clone(&self) -> RuntimeConfigOptions
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 more