pub struct RuntimeTrace {
pub function: Option<String>,
pub offset: Option<usize>,
pub stack: Vec<String>,
}Expand description
Runtime source location and call stack attached to an execution error.
Fields§
§function: Option<String>Function active at the failure site, when known.
offset: Option<usize>Bytecode offset of the failure site, when known.
stack: Vec<String>Active callers ordered from root to leaf.
Trait Implementations§
Source§impl Clone for RuntimeTrace
impl Clone for RuntimeTrace
Source§impl Debug for RuntimeTrace
impl Debug for RuntimeTrace
Auto Trait Implementations§
impl Freeze for RuntimeTrace
impl RefUnwindSafe for RuntimeTrace
impl Send for RuntimeTrace
impl Sync for RuntimeTrace
impl Unpin for RuntimeTrace
impl UnsafeUnpin for RuntimeTrace
impl UnwindSafe for RuntimeTrace
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