Struct cdp::runtime::ExceptionRevokedEvent
[−]
[src]
pub struct ExceptionRevokedEvent<'a> { pub reason: Cow<'a, str>, pub exception_id: i32, }
Issued when unhandled exception was revoked.
Event Runtime.exceptionRevoked
Domain Module: cdp::runtime
Event Struct: cdp::runtime::ExceptionRevokedEvent
Fields
reason: Cow<'a, str>
Reason describing why exception was revoked.
exception_id: i32
The id of revoked exception, as reported in exceptionUnhandled
.
Trait Implementations
impl<'a> Clone for ExceptionRevokedEvent<'a>
[src]
fn clone(&self) -> ExceptionRevokedEvent<'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 ExceptionRevokedEvent<'a>
[src]
impl<'a> PartialEq for ExceptionRevokedEvent<'a>
[src]
fn eq(&self, __arg_0: &ExceptionRevokedEvent<'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: &ExceptionRevokedEvent<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpEvent for ExceptionRevokedEvent<'a>
[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "Runtime.exceptionRevoked"
impl<'a> SerializeCdpEvent for ExceptionRevokedEvent<'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 ExceptionRevokedEvent<'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>,