Struct cdp::debugger::PausedEvent
[−]
[src]
pub struct PausedEvent<'a> { pub call_frames: Vec<CallFrame<'a>>, pub reason: PausedEventReason, pub data: Option<Empty>, pub hit_breakpoints: Option<Vec<Cow<'a, str>>>, pub async_stack_trace: Option<StackTrace<'a>>, }
Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
Event Debugger.paused
Domain Module: cdp::debugger
Event Struct: cdp::debugger::PausedEvent
Fields
call_frames: Vec<CallFrame<'a>>
Call stack the virtual machine stopped on.
reason: PausedEventReason
Pause reason.
data: Option<Empty>
Object containing break-specific auxiliary properties.
hit_breakpoints: Option<Vec<Cow<'a, str>>>
Hit breakpoints IDs
async_stack_trace: Option<StackTrace<'a>>
Async stack trace, if any.
Trait Implementations
impl<'a> Clone for PausedEvent<'a>
[src]
fn clone(&self) -> PausedEvent<'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 PausedEvent<'a>
[src]
impl<'a> PartialEq for PausedEvent<'a>
[src]
fn eq(&self, __arg_0: &PausedEvent<'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: &PausedEvent<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpEvent for PausedEvent<'a>
[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "Debugger.paused"
impl<'a> SerializeCdpEvent for PausedEvent<'a>
[src]
fn event_name(&self) -> &str
[src]
fn serialize_event_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpEvent<'de> for PausedEvent<'a>
[src]
fn deserialize_event<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,