Struct cdp::runtime::StackTrace
[−]
[src]
pub struct StackTrace<'a> { pub description: Option<Cow<'a, str>>, pub call_frames: Vec<CallFrame<'a>>, pub parent: Option<Box<StackTrace<'a>>>, pub promise_creation_frame: Option<CallFrame<'a>>, }
Call frames for assertions or error messages.
Fields
description: Option<Cow<'a, str>>
String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
call_frames: Vec<CallFrame<'a>>
JavaScript function name.
parent: Option<Box<StackTrace<'a>>>
Asynchronous JavaScript stack trace that preceded this stack, if available.
promise_creation_frame: Option<CallFrame<'a>>
[Experimental] Creation frame of the Promise which produced the next synchronous trace when resolved, if available.
Trait Implementations
impl<'a> Clone for StackTrace<'a>
[src]
fn clone(&self) -> StackTrace<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for StackTrace<'a>
[src]
impl<'a> PartialEq for StackTrace<'a>
[src]
fn eq(&self, __arg_0: &StackTrace<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StackTrace<'a>) -> bool
[src]
This method tests for !=
.