pub enum DebuggerEvents {
Paused(Paused),
Resumed(Resumed),
ScriptFailedToParse(ScriptFailedToParse),
ScriptParsed(ScriptParsed),
}Variants§
Paused(Paused)
Resumed(Resumed)
ScriptFailedToParse(ScriptFailedToParse)
ScriptParsed(ScriptParsed)
Implementations§
Source§impl DebuggerEvents
impl DebuggerEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DebuggerEvents
impl Clone for DebuggerEvents
Source§fn clone(&self) -> DebuggerEvents
fn clone(&self) -> DebuggerEvents
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 DebuggerEvents
impl Debug for DebuggerEvents
Source§impl<'de> Deserialize<'de> for DebuggerEvents
impl<'de> Deserialize<'de> for DebuggerEvents
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<DebuggerEvents> for Event
impl From<DebuggerEvents> for Event
Source§fn from(v: DebuggerEvents) -> Self
fn from(v: DebuggerEvents) -> Self
Converts to this type from the input type.
Source§impl From<DebuggerEvents> for JsProtocolEvents
impl From<DebuggerEvents> for JsProtocolEvents
Source§fn from(v: DebuggerEvents) -> Self
fn from(v: DebuggerEvents) -> Self
Converts to this type from the input type.
Source§impl From<Paused> for DebuggerEvents
impl From<Paused> for DebuggerEvents
Source§impl From<Resumed> for DebuggerEvents
impl From<Resumed> for DebuggerEvents
Source§impl From<ScriptFailedToParse> for DebuggerEvents
impl From<ScriptFailedToParse> for DebuggerEvents
Source§fn from(v: ScriptFailedToParse) -> Self
fn from(v: ScriptFailedToParse) -> Self
Converts to this type from the input type.
Source§impl From<ScriptParsed> for DebuggerEvents
impl From<ScriptParsed> for DebuggerEvents
Source§fn from(v: ScriptParsed) -> Self
fn from(v: ScriptParsed) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DebuggerEvents
impl PartialEq for DebuggerEvents
Source§impl Serialize for DebuggerEvents
impl Serialize for DebuggerEvents
Source§impl TryFrom<DebuggerEvents> for Paused
impl TryFrom<DebuggerEvents> for Paused
Source§type Error = DebuggerEvents
type Error = DebuggerEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerEvents,
) -> Result<Self, <Paused as TryFrom<DebuggerEvents>>::Error>
fn try_from( e: DebuggerEvents, ) -> Result<Self, <Paused as TryFrom<DebuggerEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<DebuggerEvents> for Resumed
impl TryFrom<DebuggerEvents> for Resumed
Source§type Error = DebuggerEvents
type Error = DebuggerEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerEvents,
) -> Result<Self, <Resumed as TryFrom<DebuggerEvents>>::Error>
fn try_from( e: DebuggerEvents, ) -> Result<Self, <Resumed as TryFrom<DebuggerEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<DebuggerEvents> for ScriptFailedToParse
impl TryFrom<DebuggerEvents> for ScriptFailedToParse
Source§type Error = DebuggerEvents
type Error = DebuggerEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerEvents,
) -> Result<Self, <ScriptFailedToParse as TryFrom<DebuggerEvents>>::Error>
fn try_from( e: DebuggerEvents, ) -> Result<Self, <ScriptFailedToParse as TryFrom<DebuggerEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<DebuggerEvents> for ScriptParsed
impl TryFrom<DebuggerEvents> for ScriptParsed
Source§type Error = DebuggerEvents
type Error = DebuggerEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerEvents,
) -> Result<Self, <ScriptParsed as TryFrom<DebuggerEvents>>::Error>
fn try_from( e: DebuggerEvents, ) -> Result<Self, <ScriptParsed as TryFrom<DebuggerEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DebuggerEvents
impl TryFrom<Event> for DebuggerEvents
Source§impl TryFrom<JsProtocolEvents> for DebuggerEvents
impl TryFrom<JsProtocolEvents> for DebuggerEvents
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, <DebuggerEvents as TryFrom<JsProtocolEvents>>::Error>
fn try_from( e: JsProtocolEvents, ) -> Result<Self, <DebuggerEvents as TryFrom<JsProtocolEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for DebuggerEvents
Auto Trait Implementations§
impl Freeze for DebuggerEvents
impl RefUnwindSafe for DebuggerEvents
impl Send for DebuggerEvents
impl Sync for DebuggerEvents
impl Unpin for DebuggerEvents
impl UnsafeUnpin for DebuggerEvents
impl UnwindSafe for DebuggerEvents
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