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 moreSource§impl Debug for RuntimeConfigOptions
impl Debug for RuntimeConfigOptions
Source§impl Default for RuntimeConfigOptions
impl Default for RuntimeConfigOptions
impl Copy for RuntimeConfigOptions
Auto Trait Implementations§
impl Freeze for RuntimeConfigOptions
impl RefUnwindSafe for RuntimeConfigOptions
impl Send for RuntimeConfigOptions
impl Sync for RuntimeConfigOptions
impl Unpin for RuntimeConfigOptions
impl UnwindSafe for RuntimeConfigOptions
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