pub struct ExceptionThrown {
pub method: ExceptionThrownMethod,
pub params: ExceptionThrownParams,
}Expand description
Issued when exception was thrown and unhandled. exceptionThrown
Fields§
§method: ExceptionThrownMethod§params: ExceptionThrownParamsImplementations§
Source§impl ExceptionThrown
impl ExceptionThrown
pub const IDENTIFIER: &'static str = "Runtime.exceptionThrown"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ExceptionThrown
impl Clone for ExceptionThrown
Source§fn clone(&self) -> ExceptionThrown
fn clone(&self) -> ExceptionThrown
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExceptionThrown
impl Debug for ExceptionThrown
Source§impl<'de> Deserialize<'de> for ExceptionThrown
impl<'de> Deserialize<'de> for ExceptionThrown
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ExceptionThrown> for Event
impl From<ExceptionThrown> for Event
Source§fn from(v: ExceptionThrown) -> Self
fn from(v: ExceptionThrown) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionThrown> for JsProtocolEvents
impl From<ExceptionThrown> for JsProtocolEvents
Source§fn from(v: ExceptionThrown) -> Self
fn from(v: ExceptionThrown) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionThrown> for RuntimeEvents
impl From<ExceptionThrown> for RuntimeEvents
Source§fn from(v: ExceptionThrown) -> Self
fn from(v: ExceptionThrown) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExceptionThrown
impl PartialEq for ExceptionThrown
Source§impl Serialize for ExceptionThrown
impl Serialize for ExceptionThrown
Source§impl TryFrom<Event> for ExceptionThrown
impl TryFrom<Event> for ExceptionThrown
Source§impl TryFrom<JsProtocolEvents> for ExceptionThrown
impl TryFrom<JsProtocolEvents> for ExceptionThrown
Source§type Error = JsProtocolEvents
type Error = JsProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolEvents,
) -> Result<Self, <ExceptionThrown as TryFrom<JsProtocolEvents>>::Error>
fn try_from( e: JsProtocolEvents, ) -> Result<Self, <ExceptionThrown as TryFrom<JsProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeEvents> for ExceptionThrown
impl TryFrom<RuntimeEvents> for ExceptionThrown
Source§type Error = RuntimeEvents
type Error = RuntimeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeEvents,
) -> Result<Self, <ExceptionThrown as TryFrom<RuntimeEvents>>::Error>
fn try_from( e: RuntimeEvents, ) -> Result<Self, <ExceptionThrown as TryFrom<RuntimeEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for ExceptionThrown
Auto Trait Implementations§
impl Freeze for ExceptionThrown
impl RefUnwindSafe for ExceptionThrown
impl Send for ExceptionThrown
impl Sync for ExceptionThrown
impl Unpin for ExceptionThrown
impl UnsafeUnpin for ExceptionThrown
impl UnwindSafe for ExceptionThrown
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