pub struct WorkerScriptLoaded {
pub method: WorkerScriptLoadedMethod,
pub params: WorkerScriptLoadedParams,
}Expand description
Fired on worker targets when main worker script and any imported scripts have been evaluated. workerScriptLoaded
Fields§
§method: WorkerScriptLoadedMethod§params: WorkerScriptLoadedParamsImplementations§
Source§impl WorkerScriptLoaded
impl WorkerScriptLoaded
pub const IDENTIFIER: &'static str = "Inspector.workerScriptLoaded"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WorkerScriptLoaded
impl Clone for WorkerScriptLoaded
Source§fn clone(&self) -> WorkerScriptLoaded
fn clone(&self) -> WorkerScriptLoaded
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 WorkerScriptLoaded
impl Debug for WorkerScriptLoaded
Source§impl<'de> Deserialize<'de> for WorkerScriptLoaded
impl<'de> Deserialize<'de> for WorkerScriptLoaded
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<WorkerScriptLoaded> for BrowserProtocolEvents
impl From<WorkerScriptLoaded> for BrowserProtocolEvents
Source§fn from(v: WorkerScriptLoaded) -> Self
fn from(v: WorkerScriptLoaded) -> Self
Converts to this type from the input type.
Source§impl From<WorkerScriptLoaded> for Event
impl From<WorkerScriptLoaded> for Event
Source§fn from(v: WorkerScriptLoaded) -> Self
fn from(v: WorkerScriptLoaded) -> 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 WorkerScriptLoaded
impl PartialEq for WorkerScriptLoaded
Source§impl Serialize for WorkerScriptLoaded
impl Serialize for WorkerScriptLoaded
Source§impl TryFrom<BrowserProtocolEvents> for WorkerScriptLoaded
impl TryFrom<BrowserProtocolEvents> for WorkerScriptLoaded
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, <WorkerScriptLoaded as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <WorkerScriptLoaded as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for WorkerScriptLoaded
impl TryFrom<Event> for WorkerScriptLoaded
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 WorkerScriptLoaded
Auto Trait Implementations§
impl Freeze for WorkerScriptLoaded
impl RefUnwindSafe for WorkerScriptLoaded
impl Send for WorkerScriptLoaded
impl Sync for WorkerScriptLoaded
impl Unpin for WorkerScriptLoaded
impl UnsafeUnpin for WorkerScriptLoaded
impl UnwindSafe for WorkerScriptLoaded
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