pub struct ExecutionStateImage {
pub frames: Vec<WasmFunctionStateDump>,
}Expand description
An image of the execution state.
Fields§
§frames: Vec<WasmFunctionStateDump>Frames.
Implementations§
Source§impl ExecutionStateImage
impl ExecutionStateImage
Sourcepub fn print_backtrace_if_needed(&self)
pub fn print_backtrace_if_needed(&self)
Prints a backtrace if the WASMER_BACKTRACE environment variable is 1.
Trait Implementations§
Source§impl Clone for ExecutionStateImage
impl Clone for ExecutionStateImage
Source§fn clone(&self) -> ExecutionStateImage
fn clone(&self) -> ExecutionStateImage
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 ExecutionStateImage
impl Debug for ExecutionStateImage
Source§impl<'de> Deserialize<'de> for ExecutionStateImage
impl<'de> Deserialize<'de> for ExecutionStateImage
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
Auto Trait Implementations§
impl Freeze for ExecutionStateImage
impl RefUnwindSafe for ExecutionStateImage
impl Send for ExecutionStateImage
impl Sync for ExecutionStateImage
impl Unpin for ExecutionStateImage
impl UnwindSafe for ExecutionStateImage
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