|
Wasmtime
|
An owned vector of FrameRef instances representing the WebAssembly call-stack on a trap.
More...
#include <trap.hh>
Public Types | |
| typedef const FrameRef * | iterator |
| Iterator used to iterate over this trace. | |
Public Member Functions | |
| Trace (const Trace &other)=delete | |
| Trace (Trace &&other)=delete | |
| Trace & | operator= (const Trace &other)=delete |
| Trace & | operator= (Trace &&other)=delete |
| iterator | begin () const |
| Returns the start of iteration. | |
| iterator | end () const |
| Returns the end of iteration. | |
| size_t | size () const |
| Returns the size of this trace, or how many frames it contains. | |
Friends | |
| class | Trap |
| class | Error |
An owned vector of FrameRef instances representing the WebAssembly call-stack on a trap.
This can be used to iterate over the frames of a trap and determine what was running when a trap happened.