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