pub struct StackLimits {
pub initial_value_stack_height: usize,
pub maximum_value_stack_height: usize,
pub maximum_recursion_depth: usize,
}๐Deprecated since 0.51.0: use
Config::set_{min,max}_stack_height, Config::max_recursion_depth and Config::set_max_cached_stacks insteadExpand description
The configured limits of the Wasm stack.
Fieldsยง
ยงinitial_value_stack_height: usize๐Deprecated since 0.51.0: use
Config::set_{min,max}_stack_height, Config::max_recursion_depth and Config::set_max_cached_stacks insteadThe initial value stack height that the Wasm stack prepares.
maximum_value_stack_height: usize๐Deprecated since 0.51.0: use
Config::set_{min,max}_stack_height, Config::max_recursion_depth and Config::set_max_cached_stacks insteadThe maximum value stack height in use that the Wasm stack allows.
maximum_recursion_depth: usize๐Deprecated since 0.51.0: use
Config::set_{min,max}_stack_height, Config::max_recursion_depth and Config::set_max_cached_stacks insteadThe maximum number of nested calls that the Wasm stack allows.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for StackLimits
impl Clone for StackLimits
Sourceยงfn clone(&self) -> StackLimits
fn clone(&self) -> StackLimits
Returns a duplicate 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 StackLimits
impl Debug for StackLimits
Sourceยงimpl Default for StackLimits
impl Default for StackLimits
impl Copy for StackLimits
Auto Trait Implementationsยง
impl Freeze for StackLimits
impl RefUnwindSafe for StackLimits
impl Send for StackLimits
impl Sync for StackLimits
impl Unpin for StackLimits
impl UnwindSafe for StackLimits
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