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

String label of this stack trace. For async traces this may be a name of the function that initiated the async call.

JavaScript function name.

Asynchronous JavaScript stack trace that preceded this stack, if available.

[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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for StackTrace<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for StackTrace<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.