[INFO] fetching crate chromiumoxide_cdp 0.3.1... [INFO] documenting chromiumoxide_cdp-0.3.1 against 1.54.0 for beta-1.55-rustdoc-1 [INFO] extracting crate chromiumoxide_cdp 0.3.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate chromiumoxide_cdp 0.3.1 on toolchain 1.54.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chromiumoxide_cdp 0.3.1 [INFO] finished tweaking crates.io crate chromiumoxide_cdp 0.3.1 [INFO] tweaked toml for crates.io crate chromiumoxide_cdp 0.3.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eda3a9500ae9646cd78d8c6e914e56581d22906d1c2612e5823638273a6827b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eda3a9500ae9646cd78d8c6e914e56581d22906d1c2612e5823638273a6827b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eda3a9500ae9646cd78d8c6e914e56581d22906d1c2612e5823638273a6827b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda3a9500ae9646cd78d8c6e914e56581d22906d1c2612e5823638273a6827b5", kill_on_drop: false }` [INFO] [stdout] eda3a9500ae9646cd78d8c6e914e56581d22906d1c2612e5823638273a6827b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db04c5c87505581408abb1aaadb5c6d9e2e1dce50be3ebd00ef3cb5cf89657bc [INFO] running `Command { std: "docker" "start" "-a" "db04c5c87505581408abb1aaadb5c6d9e2e1dce50be3ebd00ef3cb5cf89657bc", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling chromiumoxide_types v0.3.1 [INFO] [stderr] Checking chromiumoxide_pdl v0.3.1 [INFO] [stderr] Compiling chromiumoxide_cdp v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting chromiumoxide_cdp v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> /opt/rustwide/target/debug/build/chromiumoxide_cdp-5f69822223a47d18/out/cdp.rs:1:792565 [INFO] [stdout] | [INFO] [stdout] 1 | ... } # [doc = "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dictdef-permissiondescriptor.\n[PermissionDescriptor](https://chromedevtools.github.io/devtools-protocol/tot/Browser/#type-PermissionDescriptor)"] # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] {"message":"this URL is not a hyperlink","code":{"code":"rustdoc::bare_urls","explanation":null},"level":"warning","spans":[{"file_name":"/opt/rustwide/target/debug/build/chromiumoxide_cdp-5f69822223a47d18/out/cdp.rs","byte_start":792934,"byte_end":793108,"line_start":1,"line_end":1,"column_start":792935,"column_end":793109,"is_primary":true,"text":[{"text":"pub mod cdp { pub use events :: * ; # [doc = r\" This trait allows for implementing custom events that are not covered by the\"] # [doc = r\" chrome protocol definitions.\"] # [doc = r\"\"] # [doc = r\" Every `CustomEvent` also requires an implementation of\"] # [doc = r\" `chromiumoxide_types::MethodType` and it must be `DeserializeOwned`\"] # [doc = r\" (`#[derive(serde::Deserialize)]`). This is necessary to identify match this\"] # [doc = r\" type against the provided `method` identifier of a `CdpEventMessage`\"] # [doc = r\" and to properly deserialize it from a `serde_json::Value`\"] pub trait CustomEvent : :: std :: any :: Any + serde :: de :: DeserializeOwned + chromiumoxide_types :: MethodType + Send + Sync { # [doc = r\" Used to convert the json event into in instance of this type\"] fn from_json (event : serde_json :: Value) -> serde_json :: Result < Self > where Self : Sized + 'static { serde_json :: from_value (event) } } impl < T : CustomEvent > sealed :: SealedEvent for T { fn as_any (& self) -> & dyn :: std :: any :: Any { self } } # [doc = r\" This is trait that all Events share\"] # [doc = r\"\"] # [doc = r\" This trait is sealed to prevent implementation. The only way to implement a new `Event` is by implementing `CustomEvent`\"] pub trait Event : sealed :: SealedEvent { } impl < T : sealed :: SealedEvent > Event for T { } impl < T : CustomEvent + Event > sealed :: SealedCustomEventConverter for T { } # [doc = r\" Function type to convert a json event into an instance of it self but as dyn Event\"] pub type EventConversion = Box < dyn Fn (serde_json :: Value) -> serde_json :: Result < :: std :: sync :: Arc < dyn Event >> + Send + 'static > ; # [doc = r\" An enum that does nothing for built in types but contains the conversion method for custom events\"] pub enum EventKind { BuiltIn , Custom (EventConversion) } impl EventKind { # [doc = r\" Whether this is a custom event\"] pub fn is_custom (& self) -> bool { matches ! (self , EventKind :: Custom (_)) } } impl :: std :: fmt :: Debug for EventKind { fn fmt (& self , f : & mut :: std :: fmt :: Formatter < '_ >) -> :: std :: fmt :: Result { match self { EventKind :: BuiltIn => { f . debug_tuple (\"BuiltIn\") . finish () } EventKind :: Custom (_) => { f . debug_tuple (\"Custom\") . finish () } } } } # [doc = r\" A trait on top of the `Event` trait\"] pub trait IntoEventKind : Event { # [doc = r\" What kind of event this type is\"] fn event_kind () -> EventKind where Self : Sized + 'static ; } impl < T : sealed :: SealedCustomEventConverter > IntoEventKind for T { fn event_kind () -> EventKind where Self : Sized + 'static { EventKind :: Custom (Box :: new (Self :: event_arc)) } } pub (crate) mod sealed { pub trait SealedCustomEventConverter : super :: CustomEvent + super :: Event { fn event_arc (event : serde_json :: Value) -> serde_json :: Result < :: std :: sync :: Arc < dyn super :: Event >> where Self : Sized + 'static { Ok (:: std :: sync :: Arc :: new (Self :: from_json (event) ?)) } } pub trait SealedEvent : ArcAny + chromiumoxide_types :: MethodType { # [doc = r\" generate `&::std::any::Any`'s vtable from `&Trait`'s.\"] fn as_any (& self) -> & dyn :: std :: any :: Any ; } pub trait ArcAny : :: std :: any :: Any + Send + Sync { fn into_any_arc (self : :: std :: sync :: Arc < Self >) -> :: std :: sync :: Arc < dyn :: std :: any :: Any + Send + Sync > ; } impl < T : :: std :: any :: Any + Send + Sync > ArcAny for T { fn into_any_arc (self : :: std :: sync :: Arc < Self >) -> :: std :: sync :: Arc < dyn :: std :: any :: Any + Send + Sync > { self } } impl dyn SealedEvent { # [doc = r\" Returns true if the trait object wraps an object of type `T`.\"] # [inline] pub fn is < T : SealedEvent > (& self) -> bool { self . as_any () . is :: < T > () } # [inline] pub fn downcast_arc < T : SealedEvent > (self : :: std :: sync :: Arc < Self >) -> Result < :: std :: sync :: Arc < T > , :: std :: sync :: Arc < Self >> where T : :: std :: any :: Any + Send + Sync , { if self . is :: < T > () { Ok (ArcAny :: into_any_arc (self) . downcast :: < T > () . unwrap ()) } else { Err (self) } } } } pub mod events { use serde :: Deserialize ; # [derive (Debug , PartialEq , Clone)] pub struct CdpEventMessage { # [doc = r\" Name of the method\"] pub method : chromiumoxide_types :: MethodId , # [doc = r\" The chromium session Id\"] pub session_id : Option < String > , # [doc = r\" Json params\"] pub params : CdpEvent , } impl chromiumoxide_types :: Method for CdpEventMessage { fn identifier (& self) -> chromiumoxide_types :: MethodId { match & self . params { CdpEvent :: DebuggerBreakpointResolved (inner) => inner . identifier () , CdpEvent :: DebuggerPaused (inner) => inner . identifier () , CdpEvent :: DebuggerResumed (inner) => inner . identifier () , CdpEvent :: DebuggerScriptFailedToParse (inner) => inner . identifier () , CdpEvent :: DebuggerScriptParsed (inner) => inner . identifier () , CdpEvent :: HeapProfilerAddHeapSnapshotChunk (inner) => inner . identifier () , CdpEvent :: HeapProfilerHeapStatsUpdate (inner) => inner . identifier () , CdpEvent :: HeapProfilerLastSeenObjectId (inner) => inner . identifier () , CdpEvent :: HeapProfilerReportHeapSnapshotProgress (inner) => inner . identifier () , CdpEvent :: HeapProfilerResetProfiles (inner) => inner . identifier () , CdpEvent :: ProfilerConsoleProfileFinished (inner) => inner . identifier () , CdpEvent :: ProfilerConsoleProfileStarted (inner) => inner . identifier () , CdpEvent :: ProfilerPreciseCoverageDeltaUpdate (inner) => inner . identifier () , CdpEvent :: RuntimeBindingCalled (inner) => inner . identifier () , CdpEvent :: RuntimeConsoleApiCalled (inner) => inner . identifier () , CdpEvent :: RuntimeExceptionRevoked (inner) => inner . identifier () , CdpEvent :: RuntimeExceptionThrown (inner) => inner . identifier () , CdpEvent :: RuntimeExecutionContextCreated (inner) => inner . identifier () , CdpEvent :: RuntimeExecutionContextDestroyed (inner) => inner . identifier () , CdpEvent :: RuntimeExecutionContextsCleared (inner) => inner . identifier () , CdpEvent :: RuntimeInspectRequested (inner) => inner . identifier () , CdpEvent :: AnimationAnimationCanceled (inner) => inner . identifier () , CdpEvent :: AnimationAnimationCreated (inner) => inner . identifier () , CdpEvent :: AnimationAnimationStarted (inner) => inner . identifier () , CdpEvent :: ApplicationCacheApplicationCacheStatusUpdated (inner) => inner . identifier () , CdpEvent :: ApplicationCacheNetworkStateUpdated (inner) => inner . identifier () , CdpEvent :: AuditsIssueAdded (inner) => inner . identifier () , CdpEvent :: BackgroundServiceRecordingStateChanged (inner) => inner . identifier () , CdpEvent :: BackgroundServiceBackgroundServiceEventReceived (inner) => inner . identifier () , CdpEvent :: CssFontsUpdated (inner) => inner . identifier () , CdpEvent :: CssMediaQueryResultChanged (inner) => inner . identifier () , CdpEvent :: CssStyleSheetAdded (inner) => inner . identifier () , CdpEvent :: CssStyleSheetChanged (inner) => inner . identifier () , CdpEvent :: CssStyleSheetRemoved (inner) => inner . identifier () , CdpEvent :: CastSinksUpdated (inner) => inner . identifier () , CdpEvent :: CastIssueUpdated (inner) => inner . identifier () , CdpEvent :: DomAttributeModified (inner) => inner . identifier () , CdpEvent :: DomAttributeRemoved (inner) => inner . identifier () , CdpEvent :: DomCharacterDataModified (inner) => inner . identifier () , CdpEvent :: DomChildNodeCountUpdated (inner) => inner . identifier () , CdpEvent :: DomChildNodeInserted (inner) => inner . identifier () , CdpEvent :: DomChildNodeRemoved (inner) => inner . identifier () , CdpEvent :: DomDistributedNodesUpdated (inner) => inner . identifier () , CdpEvent :: DomDocumentUpdated (inner) => inner . identifier () , CdpEvent :: DomInlineStyleInvalidated (inner) => inner . identifier () , CdpEvent :: DomPseudoElementAdded (inner) => inner . identifier () , CdpEvent :: DomPseudoElementRemoved (inner) => inner . identifier () , CdpEvent :: DomSetChildNodes (inner) => inner . identifier () , CdpEvent :: DomShadowRootPopped (inner) => inner . identifier () , CdpEvent :: DomShadowRootPushed (inner) => inner . identifier () , CdpEvent :: DomStorageDomStorageItemAdded (inner) => inner . identifier () , CdpEvent :: DomStorageDomStorageItemRemoved (inner) => inner . identifier () , CdpEvent :: DomStorageDomStorageItemUpdated (inner) => inner . identifier () , CdpEvent :: DomStorageDomStorageItemsCleared (inner) => inner . identifier () , CdpEvent :: DatabaseAddDatabase (inner) => inner . identifier () , CdpEvent :: EmulationVirtualTimeBudgetExpired (inner) => inner . identifier () , CdpEvent :: InspectorDetached (inner) => inner . identifier () , CdpEvent :: InspectorTargetCrashed (inner) => inner . identifier () , CdpEvent :: InspectorTargetReloadedAfterCrash (inner) => inner . identifier () , CdpEvent :: LayerTreeLayerPainted (inner) => inner . identifier () , CdpEvent :: LayerTreeLayerTreeDidChange (inner) => inner . identifier () , CdpEvent :: LogEntryAdded (inner) => inner . identifier () , CdpEvent :: NetworkDataReceived (inner) => inner . identifier () , CdpEvent :: NetworkEventSourceMessageReceived (inner) => inner . identifier () , CdpEvent :: NetworkLoadingFailed (inner) => inner . identifier () , CdpEvent :: NetworkLoadingFinished (inner) => inner . identifier () , CdpEvent :: NetworkRequestServedFromCache (inner) => inner . identifier () , CdpEvent :: NetworkRequestWillBeSent (inner) => inner . identifier () , CdpEvent :: NetworkResourceChangedPriority (inner) => inner . identifier () , CdpEvent :: NetworkSignedExchangeReceived (inner) => inner . identifier () , CdpEvent :: NetworkResponseReceived (inner) => inner . identifier () , CdpEvent :: NetworkWebSocketClosed (inner) => inner . identifier () , CdpEvent :: NetworkWebSocketCreated (inner) => inner . identifier () , CdpEvent :: NetworkWebSocketFrameError (inner) => inner . identifier () , CdpEvent :: NetworkWebSocketFrameReceived (inner) => inner . identifier () , CdpEvent :: NetworkWebSocketFrameSent (inner) => inner . identifier () , CdpEvent :: NetworkWebSocketHandshakeResponseReceived (inner) => inner . identifier () , CdpEvent :: NetworkWebSocketWillSendHandshakeRequest (inner) => inner . identifier () , CdpEvent :: NetworkRequestWillBeSentExtraInfo (inner) => inner . identifier () , CdpEvent :: NetworkResponseReceivedExtraInfo (inner) => inner . identifier () , CdpEvent :: OverlayInspectNodeRequested (inner) => inner . identifier () , CdpEvent :: OverlayNodeHighlightRequested (inner) => inner . identifier () , CdpEvent :: OverlayScreenshotRequested (inner) => inner . identifier () , CdpEvent :: OverlayInspectModeCanceled (inner) => inner . identifier () , CdpEvent :: PageDomContentEventFired (inner) => inner . identifier () , CdpEvent :: PageFileChooserOpened (inner) => inner . identifier () , CdpEvent :: PageFrameAttached (inner) => inner . identifier () , CdpEvent :: PageFrameDetached (inner) => inner . identifier () , CdpEvent :: PageFrameNavigated (inner) => inner . identifier () , CdpEvent :: PageFrameResized (inner) => inner . identifier () , CdpEvent :: PageFrameRequestedNavigation (inner) => inner . identifier () , CdpEvent :: PageFrameStartedLoading (inner) => inner . identifier () , CdpEvent :: PageFrameStoppedLoading (inner) => inner . identifier () , CdpEvent :: PageDownloadWillBegin (inner) => inner . identifier () , CdpEvent :: PageDownloadProgress (inner) => inner . identifier () , CdpEvent :: PageInterstitialHidden (inner) => inner . identifier () , CdpEvent :: PageInterstitialShown (inner) => inner . identifier () , CdpEvent :: PageJavascriptDialogClosed (inner) => inner . identifier () , CdpEvent :: PageJavascriptDialogOpening (inner) => inner . identifier () , CdpEvent :: PageLifecycleEvent (inner) => inner . identifier () , CdpEvent :: PageLoadEventFired (inner) => inner . identifier () , CdpEvent :: PageNavigatedWithinDocument (inner) => inner . identifier () , CdpEvent :: PageScreencastFrame (inner) => inner . identifier () , CdpEvent :: PageScreencastVisibilityChanged (inner) => inner . identifier () , CdpEvent :: PageWindowOpen (inner) => inner . identifier () , CdpEvent :: PageCompilationCacheProduced (inner) => inner . identifier () , CdpEvent :: PerformanceMetrics (inner) => inner . identifier () , CdpEvent :: SecurityVisibleSecurityStateChanged (inner) => inner . identifier () , CdpEvent :: SecuritySecurityStateChanged (inner) => inner . identifier () , CdpEvent :: ServiceWorkerWorkerErrorReported (inner) => inner . identifier () , CdpEvent :: ServiceWorkerWorkerRegistrationUpdated (inner) => inner . identifier () , CdpEvent :: ServiceWorkerWorkerVersionUpdated (inner) => inner . identifier () , CdpEvent :: StorageCacheStorageContentUpdated (inner) => inner . identifier () , CdpEvent :: StorageCacheStorageListUpdated (inner) => inner . identifier () , CdpEvent :: StorageIndexedDbContentUpdated (inner) => inner . identifier () , CdpEvent :: StorageIndexedDbListUpdated (inner) => inner . identifier () , CdpEvent :: TargetAttachedToTarget (inner) => inner . identifier () , CdpEvent :: TargetDetachedFromTarget (inner) => inner . identifier () , CdpEvent :: TargetReceivedMessageFromTarget (inner) => inner . identifier () , CdpEvent :: TargetTargetCreated (inner) => inner . identifier () , CdpEvent :: TargetTargetDestroyed (inner) => inner . identifier () , CdpEvent :: TargetTargetCrashed (inner) => inner . identifier () , CdpEvent :: TargetTargetInfoChanged (inner) => inner . identifier () , CdpEvent :: TetheringAccepted (inner) => inner . identifier () , CdpEvent :: TracingBufferUsage (inner) => inner . identifier () , CdpEvent :: TracingDataCollected (inner) => inner . identifier () , CdpEvent :: TracingTracingComplete (inner) => inner . identifier () , CdpEvent :: FetchRequestPaused (inner) => inner . identifier () , CdpEvent :: FetchAuthRequired (inner) => inner . identifier () , CdpEvent :: WebAudioContextCreated (inner) => inner . identifier () , CdpEvent :: WebAudioContextWillBeDestroyed (inner) => inner . identifier () , CdpEvent :: WebAudioContextChanged (inner) => inner . identifier () , CdpEvent :: WebAudioAudioListenerCreated (inner) => inner . identifier () , CdpEvent :: WebAudioAudioListenerWillBeDestroyed (inner) => inner . identifier () , CdpEvent :: WebAudioAudioNodeCreated (inner) => inner . identifier () , CdpEvent :: WebAudioAudioNodeWillBeDestroyed (inner) => inner . identifier () , CdpEvent :: WebAudioAudioParamCreated (inner) => inner . identifier () , CdpEvent :: WebAudioAudioParamWillBeDestroyed (inner) => inner . identifier () , CdpEvent :: WebAudioNodesConnected (inner) => inner . identifier () , CdpEvent :: WebAudioNodesDisconnected (inner) => inner . identifier () , CdpEvent :: WebAudioNodeParamConnected (inner) => inner . identifier () , CdpEvent :: WebAudioNodeParamDisconnected (inner) => inner . identifier () , CdpEvent :: MediaPlayerPropertiesChanged (inner) => inner . identifier () , CdpEvent :: MediaPlayerEventsAdded (inner) => inner . identifier () , CdpEvent :: MediaPlayerMessagesLogged (inner) => inner . identifier () , CdpEvent :: MediaPlayerErrorsRaised (inner) => inner . identifier () , CdpEvent :: MediaPlayersCreated (inner) => inner . identifier () , _ => self . method . clone () } } } impl chromiumoxide_types :: EventMessage for CdpEventMessage { fn session_id (& self) -> Option < & str > { self . session_id . as_deref () } } # [derive (Debug , Clone , PartialEq)] pub enum CdpEvent { DebuggerBreakpointResolved (super :: js_protocol :: debugger :: EventBreakpointResolved) , DebuggerPaused (super :: js_protocol :: debugger :: EventPaused) , DebuggerResumed (super :: js_protocol :: debugger :: EventResumed) , DebuggerScriptFailedToParse (Box < super :: js_protocol :: debugger :: EventScriptFailedToParse >) , DebuggerScriptParsed (Box < super :: js_protocol :: debugger :: EventScriptParsed >) , HeapProfilerAddHeapSnapshotChunk (super :: js_protocol :: heap_profiler :: EventAddHeapSnapshotChunk) , HeapProfilerHeapStatsUpdate (super :: js_protocol :: heap_profiler :: EventHeapStatsUpdate) , HeapProfilerLastSeenObjectId (super :: js_protocol :: heap_profiler :: EventLastSeenObjectId) , HeapProfilerReportHeapSnapshotProgress (super :: js_protocol :: heap_profiler :: EventReportHeapSnapshotProgress) , HeapProfilerResetProfiles (super :: js_protocol :: heap_profiler :: EventResetProfiles) , ProfilerConsoleProfileFinished (super :: js_protocol :: profiler :: EventConsoleProfileFinished) , ProfilerConsoleProfileStarted (super :: js_protocol :: profiler :: EventConsoleProfileStarted) , ProfilerPreciseCoverageDeltaUpdate (super :: js_protocol :: profiler :: EventPreciseCoverageDeltaUpdate) , RuntimeBindingCalled (super :: js_protocol :: runtime :: EventBindingCalled) , RuntimeConsoleApiCalled (super :: js_protocol :: runtime :: EventConsoleApiCalled) , RuntimeExceptionRevoked (super :: js_protocol :: runtime :: EventExceptionRevoked) , RuntimeExceptionThrown (Box < super :: js_protocol :: runtime :: EventExceptionThrown >) , RuntimeExecutionContextCreated (super :: js_protocol :: runtime :: EventExecutionContextCreated) , RuntimeExecutionContextDestroyed (super :: js_protocol :: runtime :: EventExecutionContextDestroyed) , RuntimeExecutionContextsCleared (super :: js_protocol :: runtime :: EventExecutionContextsCleared) , RuntimeInspectRequested (Box < super :: js_protocol :: runtime :: EventInspectRequested >) , AnimationAnimationCanceled (super :: browser_protocol :: animation :: EventAnimationCanceled) , AnimationAnimationCreated (super :: browser_protocol :: animation :: EventAnimationCreated) , AnimationAnimationStarted (Box < super :: browser_protocol :: animation :: EventAnimationStarted >) , ApplicationCacheApplicationCacheStatusUpdated (super :: browser_protocol :: application_cache :: EventApplicationCacheStatusUpdated) , ApplicationCacheNetworkStateUpdated (super :: browser_protocol :: application_cache :: EventNetworkStateUpdated) , AuditsIssueAdded (Box < super :: browser_protocol :: audits :: EventIssueAdded >) , BackgroundServiceRecordingStateChanged (super :: browser_protocol :: background_service :: EventRecordingStateChanged) , BackgroundServiceBackgroundServiceEventReceived (super :: browser_protocol :: background_service :: EventBackgroundServiceEventReceived) , CssFontsUpdated (Box < super :: browser_protocol :: css :: EventFontsUpdated >) , CssMediaQueryResultChanged (super :: browser_protocol :: css :: EventMediaQueryResultChanged) , CssStyleSheetAdded (super :: browser_protocol :: css :: EventStyleSheetAdded) , CssStyleSheetChanged (super :: browser_protocol :: css :: EventStyleSheetChanged) , CssStyleSheetRemoved (super :: browser_protocol :: css :: EventStyleSheetRemoved) , CastSinksUpdated (super :: browser_protocol :: cast :: EventSinksUpdated) , CastIssueUpdated (super :: browser_protocol :: cast :: EventIssueUpdated) , DomAttributeModified (super :: browser_protocol :: dom :: EventAttributeModified) , DomAttributeRemoved (super :: browser_protocol :: dom :: EventAttributeRemoved) , DomCharacterDataModified (super :: browser_protocol :: dom :: EventCharacterDataModified) , DomChildNodeCountUpdated (super :: browser_protocol :: dom :: EventChildNodeCountUpdated) , DomChildNodeInserted (Box < super :: browser_protocol :: dom :: EventChildNodeInserted >) , DomChildNodeRemoved (super :: browser_protocol :: dom :: EventChildNodeRemoved) , DomDistributedNodesUpdated (super :: browser_protocol :: dom :: EventDistributedNodesUpdated) , DomDocumentUpdated (super :: browser_protocol :: dom :: EventDocumentUpdated) , DomInlineStyleInvalidated (super :: browser_protocol :: dom :: EventInlineStyleInvalidated) , DomPseudoElementAdded (Box < super :: browser_protocol :: dom :: EventPseudoElementAdded >) , DomPseudoElementRemoved (super :: browser_protocol :: dom :: EventPseudoElementRemoved) , DomSetChildNodes (super :: browser_protocol :: dom :: EventSetChildNodes) , DomShadowRootPopped (super :: browser_protocol :: dom :: EventShadowRootPopped) , DomShadowRootPushed (Box < super :: browser_protocol :: dom :: EventShadowRootPushed >) , DomStorageDomStorageItemAdded (super :: browser_protocol :: dom_storage :: EventDomStorageItemAdded) , DomStorageDomStorageItemRemoved (super :: browser_protocol :: dom_storage :: EventDomStorageItemRemoved) , DomStorageDomStorageItemUpdated (super :: browser_protocol :: dom_storage :: EventDomStorageItemUpdated) , DomStorageDomStorageItemsCleared (super :: browser_protocol :: dom_storage :: EventDomStorageItemsCleared) , DatabaseAddDatabase (super :: browser_protocol :: database :: EventAddDatabase) , EmulationVirtualTimeBudgetExpired (super :: browser_protocol :: emulation :: EventVirtualTimeBudgetExpired) , InspectorDetached (super :: browser_protocol :: inspector :: EventDetached) , InspectorTargetCrashed (super :: browser_protocol :: inspector :: EventTargetCrashed) , InspectorTargetReloadedAfterCrash (super :: browser_protocol :: inspector :: EventTargetReloadedAfterCrash) , LayerTreeLayerPainted (super :: browser_protocol :: layer_tree :: EventLayerPainted) , LayerTreeLayerTreeDidChange (super :: browser_protocol :: layer_tree :: EventLayerTreeDidChange) , LogEntryAdded (Box < super :: browser_protocol :: log :: EventEntryAdded >) , NetworkDataReceived (super :: browser_protocol :: network :: EventDataReceived) , NetworkEventSourceMessageReceived (super :: browser_protocol :: network :: EventEventSourceMessageReceived) , NetworkLoadingFailed (super :: browser_protocol :: network :: EventLoadingFailed) , NetworkLoadingFinished (super :: browser_protocol :: network :: EventLoadingFinished) , NetworkRequestServedFromCache (super :: browser_protocol :: network :: EventRequestServedFromCache) , NetworkRequestWillBeSent (Box < super :: browser_protocol :: network :: EventRequestWillBeSent >) , NetworkResourceChangedPriority (super :: browser_protocol :: network :: EventResourceChangedPriority) , NetworkSignedExchangeReceived (Box < super :: browser_protocol :: network :: EventSignedExchangeReceived >) , NetworkResponseReceived (Box < super :: browser_protocol :: network :: EventResponseReceived >) , NetworkWebSocketClosed (super :: browser_protocol :: network :: EventWebSocketClosed) , NetworkWebSocketCreated (Box < super :: browser_protocol :: network :: EventWebSocketCreated >) , NetworkWebSocketFrameError (super :: browser_protocol :: network :: EventWebSocketFrameError) , NetworkWebSocketFrameReceived (super :: browser_protocol :: network :: EventWebSocketFrameReceived) , NetworkWebSocketFrameSent (super :: browser_protocol :: network :: EventWebSocketFrameSent) , NetworkWebSocketHandshakeResponseReceived (super :: browser_protocol :: network :: EventWebSocketHandshakeResponseReceived) , NetworkWebSocketWillSendHandshakeRequest (super :: browser_protocol :: network :: EventWebSocketWillSendHandshakeRequest) , NetworkRequestWillBeSentExtraInfo (super :: browser_protocol :: network :: EventRequestWillBeSentExtraInfo) , NetworkResponseReceivedExtraInfo (super :: browser_protocol :: network :: EventResponseReceivedExtraInfo) , OverlayInspectNodeRequested (super :: browser_protocol :: overlay :: EventInspectNodeRequested) , OverlayNodeHighlightRequested (super :: browser_protocol :: overlay :: EventNodeHighlightRequested) , OverlayScreenshotRequested (super :: browser_protocol :: overlay :: EventScreenshotRequested) , OverlayInspectModeCanceled (super :: browser_protocol :: overlay :: EventInspectModeCanceled) , PageDomContentEventFired (super :: browser_protocol :: page :: EventDomContentEventFired) , PageFileChooserOpened (super :: browser_protocol :: page :: EventFileChooserOpened) , PageFrameAttached (super :: browser_protocol :: page :: EventFrameAttached) , PageFrameDetached (super :: browser_protocol :: page :: EventFrameDetached) , PageFrameNavigated (Box < super :: browser_protocol :: page :: EventFrameNavigated >) , PageFrameResized (super :: browser_protocol :: page :: EventFrameResized) , PageFrameRequestedNavigation (super :: browser_protocol :: page :: EventFrameRequestedNavigation) , PageFrameStartedLoading (super :: browser_protocol :: page :: EventFrameStartedLoading) , PageFrameStoppedLoading (super :: browser_protocol :: page :: EventFrameStoppedLoading) , PageDownloadWillBegin (super :: browser_protocol :: page :: EventDownloadWillBegin) , PageDownloadProgress (super :: browser_protocol :: page :: EventDownloadProgress) , PageInterstitialHidden (super :: browser_protocol :: page :: EventInterstitialHidden) , PageInterstitialShown (super :: browser_protocol :: page :: EventInterstitialShown) , PageJavascriptDialogClosed (super :: browser_protocol :: page :: EventJavascriptDialogClosed) , PageJavascriptDialogOpening (super :: browser_protocol :: page :: EventJavascriptDialogOpening) , PageLifecycleEvent (super :: browser_protocol :: page :: EventLifecycleEvent) , PageLoadEventFired (super :: browser_protocol :: page :: EventLoadEventFired) , PageNavigatedWithinDocument (super :: browser_protocol :: page :: EventNavigatedWithinDocument) , PageScreencastFrame (super :: browser_protocol :: page :: EventScreencastFrame) , PageScreencastVisibilityChanged (super :: browser_protocol :: page :: EventScreencastVisibilityChanged) , PageWindowOpen (super :: browser_protocol :: page :: EventWindowOpen) , PageCompilationCacheProduced (super :: browser_protocol :: page :: EventCompilationCacheProduced) , PerformanceMetrics (super :: browser_protocol :: performance :: EventMetrics) , SecurityVisibleSecurityStateChanged (Box < super :: browser_protocol :: security :: EventVisibleSecurityStateChanged >) , SecuritySecurityStateChanged (super :: browser_protocol :: security :: EventSecurityStateChanged) , ServiceWorkerWorkerErrorReported (super :: browser_protocol :: service_worker :: EventWorkerErrorReported) , ServiceWorkerWorkerRegistrationUpdated (super :: browser_protocol :: service_worker :: EventWorkerRegistrationUpdated) , ServiceWorkerWorkerVersionUpdated (super :: browser_protocol :: service_worker :: EventWorkerVersionUpdated) , StorageCacheStorageContentUpdated (super :: browser_protocol :: storage :: EventCacheStorageContentUpdated) , StorageCacheStorageListUpdated (super :: browser_protocol :: storage :: EventCacheStorageListUpdated) , StorageIndexedDbContentUpdated (super :: browser_protocol :: storage :: EventIndexedDbContentUpdated) , StorageIndexedDbListUpdated (super :: browser_protocol :: storage :: EventIndexedDbListUpdated) , TargetAttachedToTarget (super :: browser_protocol :: target :: EventAttachedToTarget) , TargetDetachedFromTarget (super :: browser_protocol :: target :: EventDetachedFromTarget) , TargetReceivedMessageFromTarget (super :: browser_protocol :: target :: EventReceivedMessageFromTarget) , TargetTargetCreated (super :: browser_protocol :: target :: EventTargetCreated) , TargetTargetDestroyed (super :: browser_protocol :: target :: EventTargetDestroyed) , TargetTargetCrashed (super :: browser_protocol :: target :: EventTargetCrashed) , TargetTargetInfoChanged (super :: browser_protocol :: target :: EventTargetInfoChanged) , TetheringAccepted (super :: browser_protocol :: tethering :: EventAccepted) , TracingBufferUsage (super :: browser_protocol :: tracing :: EventBufferUsage) , TracingDataCollected (super :: browser_protocol :: tracing :: EventDataCollected) , TracingTracingComplete (super :: browser_protocol :: tracing :: EventTracingComplete) , FetchRequestPaused (Box < super :: browser_protocol :: fetch :: EventRequestPaused >) , FetchAuthRequired (Box < super :: browser_protocol :: fetch :: EventAuthRequired >) , WebAudioContextCreated (super :: browser_protocol :: web_audio :: EventContextCreated) , WebAudioContextWillBeDestroyed (super :: browser_protocol :: web_audio :: EventContextWillBeDestroyed) , WebAudioContextChanged (super :: browser_protocol :: web_audio :: EventContextChanged) , WebAudioAudioListenerCreated (super :: browser_protocol :: web_audio :: EventAudioListenerCreated) , WebAudioAudioListenerWillBeDestroyed (super :: browser_protocol :: web_audio :: EventAudioListenerWillBeDestroyed) , WebAudioAudioNodeCreated (super :: browser_protocol :: web_audio :: EventAudioNodeCreated) , WebAudioAudioNodeWillBeDestroyed (super :: browser_protocol :: web_audio :: EventAudioNodeWillBeDestroyed) , WebAudioAudioParamCreated (super :: browser_protocol :: web_audio :: EventAudioParamCreated) , WebAudioAudioParamWillBeDestroyed (super :: browser_protocol :: web_audio :: EventAudioParamWillBeDestroyed) , WebAudioNodesConnected (super :: browser_protocol :: web_audio :: EventNodesConnected) , WebAudioNodesDisconnected (super :: browser_protocol :: web_audio :: EventNodesDisconnected) , WebAudioNodeParamConnected (super :: browser_protocol :: web_audio :: EventNodeParamConnected) , WebAudioNodeParamDisconnected (super :: browser_protocol :: web_audio :: EventNodeParamDisconnected) , MediaPlayerPropertiesChanged (super :: browser_protocol :: media :: EventPlayerPropertiesChanged) , MediaPlayerEventsAdded (super :: browser_protocol :: media :: EventPlayerEventsAdded) , MediaPlayerMessagesLogged (super :: browser_protocol :: media :: EventPlayerMessagesLogged) , MediaPlayerErrorsRaised (super :: browser_protocol :: media :: EventPlayerErrorsRaised) , MediaPlayersCreated (super :: browser_protocol :: media :: EventPlayersCreated) , Other (serde_json :: Value) } impl CdpEvent { pub fn other (other : serde_json :: Value) -> Self { CdpEvent :: Other (other) } # [doc = r\" Serializes the event as Json\"] pub fn into_json (self) -> serde_json :: Result < serde_json :: Value > { match self { CdpEvent :: DebuggerBreakpointResolved (inner) => serde_json :: to_value (inner) , CdpEvent :: DebuggerPaused (inner) => serde_json :: to_value (inner) , CdpEvent :: DebuggerResumed (inner) => serde_json :: to_value (inner) , CdpEvent :: DebuggerScriptFailedToParse (inner) => serde_json :: to_value (inner) , CdpEvent :: DebuggerScriptParsed (inner) => serde_json :: to_value (inner) , CdpEvent :: HeapProfilerAddHeapSnapshotChunk (inner) => serde_json :: to_value (inner) , CdpEvent :: HeapProfilerHeapStatsUpdate (inner) => serde_json :: to_value (inner) , CdpEvent :: HeapProfilerLastSeenObjectId (inner) => serde_json :: to_value (inner) , CdpEvent :: HeapProfilerReportHeapSnapshotProgress (inner) => serde_json :: to_value (inner) , CdpEvent :: HeapProfilerResetProfiles (inner) => serde_json :: to_value (inner) , CdpEvent :: ProfilerConsoleProfileFinished (inner) => serde_json :: to_value (inner) , CdpEvent :: ProfilerConsoleProfileStarted (inner) => serde_json :: to_value (inner) , CdpEvent :: ProfilerPreciseCoverageDeltaUpdate (inner) => serde_json :: to_value (inner) , CdpEvent :: RuntimeBindingCalled (inner) => serde_json :: to_value (inner) , CdpEvent :: RuntimeConsoleApiCalled (inner) => serde_json :: to_value (inner) , CdpEvent :: RuntimeExceptionRevoked (inner) => serde_json :: to_value (inner) , CdpEvent :: RuntimeExceptionThrown (inner) => serde_json :: to_value (inner) , CdpEvent :: RuntimeExecutionContextCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: RuntimeExecutionContextDestroyed (inner) => serde_json :: to_value (inner) , CdpEvent :: RuntimeExecutionContextsCleared (inner) => serde_json :: to_value (inner) , CdpEvent :: RuntimeInspectRequested (inner) => serde_json :: to_value (inner) , CdpEvent :: AnimationAnimationCanceled (inner) => serde_json :: to_value (inner) , CdpEvent :: AnimationAnimationCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: AnimationAnimationStarted (inner) => serde_json :: to_value (inner) , CdpEvent :: ApplicationCacheApplicationCacheStatusUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: ApplicationCacheNetworkStateUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: AuditsIssueAdded (inner) => serde_json :: to_value (inner) , CdpEvent :: BackgroundServiceRecordingStateChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: BackgroundServiceBackgroundServiceEventReceived (inner) => serde_json :: to_value (inner) , CdpEvent :: CssFontsUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: CssMediaQueryResultChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: CssStyleSheetAdded (inner) => serde_json :: to_value (inner) , CdpEvent :: CssStyleSheetChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: CssStyleSheetRemoved (inner) => serde_json :: to_value (inner) , CdpEvent :: CastSinksUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: CastIssueUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: DomAttributeModified (inner) => serde_json :: to_value (inner) , CdpEvent :: DomAttributeRemoved (inner) => serde_json :: to_value (inner) , CdpEvent :: DomCharacterDataModified (inner) => serde_json :: to_value (inner) , CdpEvent :: DomChildNodeCountUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: DomChildNodeInserted (inner) => serde_json :: to_value (inner) , CdpEvent :: DomChildNodeRemoved (inner) => serde_json :: to_value (inner) , CdpEvent :: DomDistributedNodesUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: DomDocumentUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: DomInlineStyleInvalidated (inner) => serde_json :: to_value (inner) , CdpEvent :: DomPseudoElementAdded (inner) => serde_json :: to_value (inner) , CdpEvent :: DomPseudoElementRemoved (inner) => serde_json :: to_value (inner) , CdpEvent :: DomSetChildNodes (inner) => serde_json :: to_value (inner) , CdpEvent :: DomShadowRootPopped (inner) => serde_json :: to_value (inner) , CdpEvent :: DomShadowRootPushed (inner) => serde_json :: to_value (inner) , CdpEvent :: DomStorageDomStorageItemAdded (inner) => serde_json :: to_value (inner) , CdpEvent :: DomStorageDomStorageItemRemoved (inner) => serde_json :: to_value (inner) , CdpEvent :: DomStorageDomStorageItemUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: DomStorageDomStorageItemsCleared (inner) => serde_json :: to_value (inner) , CdpEvent :: DatabaseAddDatabase (inner) => serde_json :: to_value (inner) , CdpEvent :: EmulationVirtualTimeBudgetExpired (inner) => serde_json :: to_value (inner) , CdpEvent :: InspectorDetached (inner) => serde_json :: to_value (inner) , CdpEvent :: InspectorTargetCrashed (inner) => serde_json :: to_value (inner) , CdpEvent :: InspectorTargetReloadedAfterCrash (inner) => serde_json :: to_value (inner) , CdpEvent :: LayerTreeLayerPainted (inner) => serde_json :: to_value (inner) , CdpEvent :: LayerTreeLayerTreeDidChange (inner) => serde_json :: to_value (inner) , CdpEvent :: LogEntryAdded (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkDataReceived (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkEventSourceMessageReceived (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkLoadingFailed (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkLoadingFinished (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkRequestServedFromCache (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkRequestWillBeSent (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkResourceChangedPriority (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkSignedExchangeReceived (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkResponseReceived (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkWebSocketClosed (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkWebSocketCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkWebSocketFrameError (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkWebSocketFrameReceived (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkWebSocketFrameSent (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkWebSocketHandshakeResponseReceived (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkWebSocketWillSendHandshakeRequest (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkRequestWillBeSentExtraInfo (inner) => serde_json :: to_value (inner) , CdpEvent :: NetworkResponseReceivedExtraInfo (inner) => serde_json :: to_value (inner) , CdpEvent :: OverlayInspectNodeRequested (inner) => serde_json :: to_value (inner) , CdpEvent :: OverlayNodeHighlightRequested (inner) => serde_json :: to_value (inner) , CdpEvent :: OverlayScreenshotRequested (inner) => serde_json :: to_value (inner) , CdpEvent :: OverlayInspectModeCanceled (inner) => serde_json :: to_value (inner) , CdpEvent :: PageDomContentEventFired (inner) => serde_json :: to_value (inner) , CdpEvent :: PageFileChooserOpened (inner) => serde_json :: to_value (inner) , CdpEvent :: PageFrameAttached (inner) => serde_json :: to_value (inner) , CdpEvent :: PageFrameDetached (inner) => serde_json :: to_value (inner) , CdpEvent :: PageFrameNavigated (inner) => serde_json :: to_value (inner) , CdpEvent :: PageFrameResized (inner) => serde_json :: to_value (inner) , CdpEvent :: PageFrameRequestedNavigation (inner) => serde_json :: to_value (inner) , CdpEvent :: PageFrameStartedLoading (inner) => serde_json :: to_value (inner) , CdpEvent :: PageFrameStoppedLoading (inner) => serde_json :: to_value (inner) , CdpEvent :: PageDownloadWillBegin (inner) => serde_json :: to_value (inner) , CdpEvent :: PageDownloadProgress (inner) => serde_json :: to_value (inner) , CdpEvent :: PageInterstitialHidden (inner) => serde_json :: to_value (inner) , CdpEvent :: PageInterstitialShown (inner) => serde_json :: to_value (inner) , CdpEvent :: PageJavascriptDialogClosed (inner) => serde_json :: to_value (inner) , CdpEvent :: PageJavascriptDialogOpening (inner) => serde_json :: to_value (inner) , CdpEvent :: PageLifecycleEvent (inner) => serde_json :: to_value (inner) , CdpEvent :: PageLoadEventFired (inner) => serde_json :: to_value (inner) , CdpEvent :: PageNavigatedWithinDocument (inner) => serde_json :: to_value (inner) , CdpEvent :: PageScreencastFrame (inner) => serde_json :: to_value (inner) , CdpEvent :: PageScreencastVisibilityChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: PageWindowOpen (inner) => serde_json :: to_value (inner) , CdpEvent :: PageCompilationCacheProduced (inner) => serde_json :: to_value (inner) , CdpEvent :: PerformanceMetrics (inner) => serde_json :: to_value (inner) , CdpEvent :: SecurityVisibleSecurityStateChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: SecuritySecurityStateChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: ServiceWorkerWorkerErrorReported (inner) => serde_json :: to_value (inner) , CdpEvent :: ServiceWorkerWorkerRegistrationUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: ServiceWorkerWorkerVersionUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: StorageCacheStorageContentUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: StorageCacheStorageListUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: StorageIndexedDbContentUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: StorageIndexedDbListUpdated (inner) => serde_json :: to_value (inner) , CdpEvent :: TargetAttachedToTarget (inner) => serde_json :: to_value (inner) , CdpEvent :: TargetDetachedFromTarget (inner) => serde_json :: to_value (inner) , CdpEvent :: TargetReceivedMessageFromTarget (inner) => serde_json :: to_value (inner) , CdpEvent :: TargetTargetCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: TargetTargetDestroyed (inner) => serde_json :: to_value (inner) , CdpEvent :: TargetTargetCrashed (inner) => serde_json :: to_value (inner) , CdpEvent :: TargetTargetInfoChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: TetheringAccepted (inner) => serde_json :: to_value (inner) , CdpEvent :: TracingBufferUsage (inner) => serde_json :: to_value (inner) , CdpEvent :: TracingDataCollected (inner) => serde_json :: to_value (inner) , CdpEvent :: TracingTracingComplete (inner) => serde_json :: to_value (inner) , CdpEvent :: FetchRequestPaused (inner) => serde_json :: to_value (inner) , CdpEvent :: FetchAuthRequired (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioContextCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioContextWillBeDestroyed (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioContextChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioAudioListenerCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioAudioListenerWillBeDestroyed (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioAudioNodeCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioAudioNodeWillBeDestroyed (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioAudioParamCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioAudioParamWillBeDestroyed (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioNodesConnected (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioNodesDisconnected (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioNodeParamConnected (inner) => serde_json :: to_value (inner) , CdpEvent :: WebAudioNodeParamDisconnected (inner) => serde_json :: to_value (inner) , CdpEvent :: MediaPlayerPropertiesChanged (inner) => serde_json :: to_value (inner) , CdpEvent :: MediaPlayerEventsAdded (inner) => serde_json :: to_value (inner) , CdpEvent :: MediaPlayerMessagesLogged (inner) => serde_json :: to_value (inner) , CdpEvent :: MediaPlayerErrorsRaised (inner) => serde_json :: to_value (inner) , CdpEvent :: MediaPlayersCreated (inner) => serde_json :: to_value (inner) , CdpEvent :: Other (val) => Ok (val) } } pub fn into_event (self) -> :: std :: result :: Result < Box < dyn super :: Event > , serde_json :: Value > { match self { CdpEvent :: DebuggerBreakpointResolved (event) => Ok (Box :: new (event)) , CdpEvent :: DebuggerPaused (event) => Ok (Box :: new (event)) , CdpEvent :: DebuggerResumed (event) => Ok (Box :: new (event)) , CdpEvent :: DebuggerScriptFailedToParse (event) => Ok (Box :: new (* event)) , CdpEvent :: DebuggerScriptParsed (event) => Ok (Box :: new (* event)) , CdpEvent :: HeapProfilerAddHeapSnapshotChunk (event) => Ok (Box :: new (event)) , CdpEvent :: HeapProfilerHeapStatsUpdate (event) => Ok (Box :: new (event)) , CdpEvent :: HeapProfilerLastSeenObjectId (event) => Ok (Box :: new (event)) , CdpEvent :: HeapProfilerReportHeapSnapshotProgress (event) => Ok (Box :: new (event)) , CdpEvent :: HeapProfilerResetProfiles (event) => Ok (Box :: new (event)) , CdpEvent :: ProfilerConsoleProfileFinished (event) => Ok (Box :: new (event)) , CdpEvent :: ProfilerConsoleProfileStarted (event) => Ok (Box :: new (event)) , CdpEvent :: ProfilerPreciseCoverageDeltaUpdate (event) => Ok (Box :: new (event)) , CdpEvent :: RuntimeBindingCalled (event) => Ok (Box :: new (event)) , CdpEvent :: RuntimeConsoleApiCalled (event) => Ok (Box :: new (event)) , CdpEvent :: RuntimeExceptionRevoked (event) => Ok (Box :: new (event)) , CdpEvent :: RuntimeExceptionThrown (event) => Ok (Box :: new (* event)) , CdpEvent :: RuntimeExecutionContextCreated (event) => Ok (Box :: new (event)) , CdpEvent :: RuntimeExecutionContextDestroyed (event) => Ok (Box :: new (event)) , CdpEvent :: RuntimeExecutionContextsCleared (event) => Ok (Box :: new (event)) , CdpEvent :: RuntimeInspectRequested (event) => Ok (Box :: new (* event)) , CdpEvent :: AnimationAnimationCanceled (event) => Ok (Box :: new (event)) , CdpEvent :: AnimationAnimationCreated (event) => Ok (Box :: new (event)) , CdpEvent :: AnimationAnimationStarted (event) => Ok (Box :: new (* event)) , CdpEvent :: ApplicationCacheApplicationCacheStatusUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: ApplicationCacheNetworkStateUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: AuditsIssueAdded (event) => Ok (Box :: new (* event)) , CdpEvent :: BackgroundServiceRecordingStateChanged (event) => Ok (Box :: new (event)) , CdpEvent :: BackgroundServiceBackgroundServiceEventReceived (event) => Ok (Box :: new (event)) , CdpEvent :: CssFontsUpdated (event) => Ok (Box :: new (* event)) , CdpEvent :: CssMediaQueryResultChanged (event) => Ok (Box :: new (event)) , CdpEvent :: CssStyleSheetAdded (event) => Ok (Box :: new (event)) , CdpEvent :: CssStyleSheetChanged (event) => Ok (Box :: new (event)) , CdpEvent :: CssStyleSheetRemoved (event) => Ok (Box :: new (event)) , CdpEvent :: CastSinksUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: CastIssueUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: DomAttributeModified (event) => Ok (Box :: new (event)) , CdpEvent :: DomAttributeRemoved (event) => Ok (Box :: new (event)) , CdpEvent :: DomCharacterDataModified (event) => Ok (Box :: new (event)) , CdpEvent :: DomChildNodeCountUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: DomChildNodeInserted (event) => Ok (Box :: new (* event)) , CdpEvent :: DomChildNodeRemoved (event) => Ok (Box :: new (event)) , CdpEvent :: DomDistributedNodesUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: DomDocumentUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: DomInlineStyleInvalidated (event) => Ok (Box :: new (event)) , CdpEvent :: DomPseudoElementAdded (event) => Ok (Box :: new (* event)) , CdpEvent :: DomPseudoElementRemoved (event) => Ok (Box :: new (event)) , CdpEvent :: DomSetChildNodes (event) => Ok (Box :: new (event)) , CdpEvent :: DomShadowRootPopped (event) => Ok (Box :: new (event)) , CdpEvent :: DomShadowRootPushed (event) => Ok (Box :: new (* event)) , CdpEvent :: DomStorageDomStorageItemAdded (event) => Ok (Box :: new (event)) , CdpEvent :: DomStorageDomStorageItemRemoved (event) => Ok (Box :: new (event)) , CdpEvent :: DomStorageDomStorageItemUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: DomStorageDomStorageItemsCleared (event) => Ok (Box :: new (event)) , CdpEvent :: DatabaseAddDatabase (event) => Ok (Box :: new (event)) , CdpEvent :: EmulationVirtualTimeBudgetExpired (event) => Ok (Box :: new (event)) , CdpEvent :: InspectorDetached (event) => Ok (Box :: new (event)) , CdpEvent :: InspectorTargetCrashed (event) => Ok (Box :: new (event)) , CdpEvent :: InspectorTargetReloadedAfterCrash (event) => Ok (Box :: new (event)) , CdpEvent :: LayerTreeLayerPainted (event) => Ok (Box :: new (event)) , CdpEvent :: LayerTreeLayerTreeDidChange (event) => Ok (Box :: new (event)) , CdpEvent :: LogEntryAdded (event) => Ok (Box :: new (* event)) , CdpEvent :: NetworkDataReceived (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkEventSourceMessageReceived (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkLoadingFailed (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkLoadingFinished (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkRequestServedFromCache (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkRequestWillBeSent (event) => Ok (Box :: new (* event)) , CdpEvent :: NetworkResourceChangedPriority (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkSignedExchangeReceived (event) => Ok (Box :: new (* event)) , CdpEvent :: NetworkResponseReceived (event) => Ok (Box :: new (* event)) , CdpEvent :: NetworkWebSocketClosed (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkWebSocketCreated (event) => Ok (Box :: new (* event)) , CdpEvent :: NetworkWebSocketFrameError (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkWebSocketFrameReceived (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkWebSocketFrameSent (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkWebSocketHandshakeResponseReceived (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkWebSocketWillSendHandshakeRequest (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkRequestWillBeSentExtraInfo (event) => Ok (Box :: new (event)) , CdpEvent :: NetworkResponseReceivedExtraInfo (event) => Ok (Box :: new (event)) , CdpEvent :: OverlayInspectNodeRequested (event) => Ok (Box :: new (event)) , CdpEvent :: OverlayNodeHighlightRequested (event) => Ok (Box :: new (event)) , CdpEvent :: OverlayScreenshotRequested (event) => Ok (Box :: new (event)) , CdpEvent :: OverlayInspectModeCanceled (event) => Ok (Box :: new (event)) , CdpEvent :: PageDomContentEventFired (event) => Ok (Box :: new (event)) , CdpEvent :: PageFileChooserOpened (event) => Ok (Box :: new (event)) , CdpEvent :: PageFrameAttached (event) => Ok (Box :: new (event)) , CdpEvent :: PageFrameDetached (event) => Ok (Box :: new (event)) , CdpEvent :: PageFrameNavigated (event) => Ok (Box :: new (* event)) , CdpEvent :: PageFrameResized (event) => Ok (Box :: new (event)) , CdpEvent :: PageFrameRequestedNavigation (event) => Ok (Box :: new (event)) , CdpEvent :: PageFrameStartedLoading (event) => Ok (Box :: new (event)) , CdpEvent :: PageFrameStoppedLoading (event) => Ok (Box :: new (event)) , CdpEvent :: PageDownloadWillBegin (event) => Ok (Box :: new (event)) , CdpEvent :: PageDownloadProgress (event) => Ok (Box :: new (event)) , CdpEvent :: PageInterstitialHidden (event) => Ok (Box :: new (event)) , CdpEvent :: PageInterstitialShown (event) => Ok (Box :: new (event)) , CdpEvent :: PageJavascriptDialogClosed (event) => Ok (Box :: new (event)) , CdpEvent :: PageJavascriptDialogOpening (event) => Ok (Box :: new (event)) , CdpEvent :: PageLifecycleEvent (event) => Ok (Box :: new (event)) , CdpEvent :: PageLoadEventFired (event) => Ok (Box :: new (event)) , CdpEvent :: PageNavigatedWithinDocument (event) => Ok (Box :: new (event)) , CdpEvent :: PageScreencastFrame (event) => Ok (Box :: new (event)) , CdpEvent :: PageScreencastVisibilityChanged (event) => Ok (Box :: new (event)) , CdpEvent :: PageWindowOpen (event) => Ok (Box :: new (event)) , CdpEvent :: PageCompilationCacheProduced (event) => Ok (Box :: new (event)) , CdpEvent :: PerformanceMetrics (event) => Ok (Box :: new (event)) , CdpEvent :: SecurityVisibleSecurityStateChanged (event) => Ok (Box :: new (* event)) , CdpEvent :: SecuritySecurityStateChanged (event) => Ok (Box :: new (event)) , CdpEvent :: ServiceWorkerWorkerErrorReported (event) => Ok (Box :: new (event)) , CdpEvent :: ServiceWorkerWorkerRegistrationUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: ServiceWorkerWorkerVersionUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: StorageCacheStorageContentUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: StorageCacheStorageListUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: StorageIndexedDbContentUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: StorageIndexedDbListUpdated (event) => Ok (Box :: new (event)) , CdpEvent :: TargetAttachedToTarget (event) => Ok (Box :: new (event)) , CdpEvent :: TargetDetachedFromTarget (event) => Ok (Box :: new (event)) , CdpEvent :: TargetReceivedMessageFromTarget (event) => Ok (Box :: new (event)) , CdpEvent :: TargetTargetCreated (event) => Ok (Box :: new (event)) , CdpEvent :: TargetTargetDestroyed (event) => Ok (Box :: new (event)) , CdpEvent :: TargetTargetCrashed (event) => Ok (Box :: new (event)) , CdpEvent :: TargetTargetInfoChanged (event) => Ok (Box :: new (event)) , CdpEvent :: TetheringAccepted (event) => Ok (Box :: new (event)) , CdpEvent :: TracingBufferUsage (event) => Ok (Box :: new (event)) , CdpEvent :: TracingDataCollected (event) => Ok (Box :: new (event)) , CdpEvent :: TracingTracingComplete (event) => Ok (Box :: new (event)) , CdpEvent :: FetchRequestPaused (event) => Ok (Box :: new (* event)) , CdpEvent :: FetchAuthRequired (event) => Ok (Box :: new (* event)) , CdpEvent :: WebAudioContextCreated (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioContextWillBeDestroyed (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioContextChanged (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioAudioListenerCreated (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioAudioListenerWillBeDestroyed (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioAudioNodeCreated (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioAudioNodeWillBeDestroyed (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioAudioParamCreated (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioAudioParamWillBeDestroyed (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioNodesConnected (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioNodesDisconnected (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioNodeParamConnected (event) => Ok (Box :: new (event)) , CdpEvent :: WebAudioNodeParamDisconnected (event) => Ok (Box :: new (event)) , CdpEvent :: MediaPlayerPropertiesChanged (event) => Ok (Box :: new (event)) , CdpEvent :: MediaPlayerEventsAdded (event) => Ok (Box :: new (event)) , CdpEvent :: MediaPlayerMessagesLogged (event) => Ok (Box :: new (event)) , CdpEvent :: MediaPlayerErrorsRaised (event) => Ok (Box :: new (event)) , CdpEvent :: MediaPlayersCreated (event) => Ok (Box :: new (event)) , CdpEvent :: Other (other) => Err (other) } } } use std :: fmt ; use serde :: de :: { self , Deserializer , MapAccess , Visitor } ; impl < 'de > Deserialize < 'de > for CdpEventMessage { fn deserialize < D > (deserializer : D) -> Result < Self , < D as Deserializer < 'de >> :: Error > where D : Deserializer < 'de > , { enum Field { Method , Session , Params , } impl < 'de > Deserialize < 'de > for Field { fn deserialize < D > (deserializer : D) -> Result < Field , D :: Error > where D : Deserializer < 'de > , { struct FieldVisitor ; impl < 'de > Visitor < 'de > for FieldVisitor { type Value = Field ; fn expecting (& self , formatter : & mut fmt :: Formatter) -> fmt :: Result { formatter . write_str (\"`method` or `sessionId` or `params`\") } fn visit_str < E > (self , value : & str) -> Result < Field , E > where E : de :: Error , { match value { \"method\" => Ok (Field :: Method) , \"sessionId\" => Ok (Field :: Session) , \"params\" => Ok (Field :: Params) , _ => Err (de :: Error :: unknown_field (value , FIELDS)) , } } } deserializer . deserialize_identifier (FieldVisitor) } } struct MessageVisitor ; impl < 'de > Visitor < 'de > for MessageVisitor { type Value = CdpEventMessage ; fn expecting (& self , formatter : & mut fmt :: Formatter) -> fmt :: Result { formatter . write_str (\"struct CdpEventMessage\") } fn visit_map < A > (self , mut map : A) -> Result < Self :: Value , A :: Error > where A : MapAccess < 'de > , { let mut method = None ; let mut session_id = None ; let mut params = None ; while let Some (key) = map . next_key () ? { match key { Field :: Method => { if method . is_some () { return Err (de :: Error :: duplicate_field (\"method\")) ; } method = Some (map . next_value :: < String > () ?) ; } Field :: Session => { if session_id . is_some () { return Err (de :: Error :: duplicate_field (\"sessionId\")) ; } session_id = Some (map . next_value :: < String > () ?) ; } Field :: Params => { if params . is_some () { return Err (de :: Error :: duplicate_field (\"params\")) ; } params = Some (match method . as_ref () . ok_or_else (|| de :: Error :: missing_field (\"params\")) ? . as_str () { super :: js_protocol :: debugger :: EventBreakpointResolved :: IDENTIFIER => CdpEvent :: DebuggerBreakpointResolved (map . next_value :: < super :: js_protocol :: debugger :: EventBreakpointResolved > () ?) , super :: js_protocol :: debugger :: EventPaused :: IDENTIFIER => CdpEvent :: DebuggerPaused (map . next_value :: < super :: js_protocol :: debugger :: EventPaused > () ?) , super :: js_protocol :: debugger :: EventResumed :: IDENTIFIER => CdpEvent :: DebuggerResumed (map . next_value :: < super :: js_protocol :: debugger :: EventResumed > () ?) , super :: js_protocol :: debugger :: EventScriptFailedToParse :: IDENTIFIER => CdpEvent :: DebuggerScriptFailedToParse (Box :: new (map . next_value :: < super :: js_protocol :: debugger :: EventScriptFailedToParse > () ?)) , super :: js_protocol :: debugger :: EventScriptParsed :: IDENTIFIER => CdpEvent :: DebuggerScriptParsed (Box :: new (map . next_value :: < super :: js_protocol :: debugger :: EventScriptParsed > () ?)) , super :: js_protocol :: heap_profiler :: EventAddHeapSnapshotChunk :: IDENTIFIER => CdpEvent :: HeapProfilerAddHeapSnapshotChunk (map . next_value :: < super :: js_protocol :: heap_profiler :: EventAddHeapSnapshotChunk > () ?) , super :: js_protocol :: heap_profiler :: EventHeapStatsUpdate :: IDENTIFIER => CdpEvent :: HeapProfilerHeapStatsUpdate (map . next_value :: < super :: js_protocol :: heap_profiler :: EventHeapStatsUpdate > () ?) , super :: js_protocol :: heap_profiler :: EventLastSeenObjectId :: IDENTIFIER => CdpEvent :: HeapProfilerLastSeenObjectId (map . next_value :: < super :: js_protocol :: heap_profiler :: EventLastSeenObjectId > () ?) , super :: js_protocol :: heap_profiler :: EventReportHeapSnapshotProgress :: IDENTIFIER => CdpEvent :: HeapProfilerReportHeapSnapshotProgress (map . next_value :: < super :: js_protocol :: heap_profiler :: EventReportHeapSnapshotProgress > () ?) , super :: js_protocol :: heap_profiler :: EventResetProfiles :: IDENTIFIER => CdpEvent :: HeapProfilerResetProfiles (map . next_value :: < super :: js_protocol :: heap_profiler :: EventResetProfiles > () ?) , super :: js_protocol :: profiler :: EventConsoleProfileFinished :: IDENTIFIER => CdpEvent :: ProfilerConsoleProfileFinished (map . next_value :: < super :: js_protocol :: profiler :: EventConsoleProfileFinished > () ?) , super :: js_protocol :: profiler :: EventConsoleProfileStarted :: IDENTIFIER => CdpEvent :: ProfilerConsoleProfileStarted (map . next_value :: < super :: js_protocol :: profiler :: EventConsoleProfileStarted > () ?) , super :: js_protocol :: profiler :: EventPreciseCoverageDeltaUpdate :: IDENTIFIER => CdpEvent :: ProfilerPreciseCoverageDeltaUpdate (map . next_value :: < super :: js_protocol :: profiler :: EventPreciseCoverageDeltaUpdate > () ?) , super :: js_protocol :: runtime :: EventBindingCalled :: IDENTIFIER => CdpEvent :: RuntimeBindingCalled (map . next_value :: < super :: js_protocol :: runtime :: EventBindingCalled > () ?) , super :: js_protocol :: runtime :: EventConsoleApiCalled :: IDENTIFIER => CdpEvent :: RuntimeConsoleApiCalled (map . next_value :: < super :: js_protocol :: runtime :: EventConsoleApiCalled > () ?) , super :: js_protocol :: runtime :: EventExceptionRevoked :: IDENTIFIER => CdpEvent :: RuntimeExceptionRevoked (map . next_value :: < super :: js_protocol :: runtime :: EventExceptionRevoked > () ?) , super :: js_protocol :: runtime :: EventExceptionThrown :: IDENTIFIER => CdpEvent :: RuntimeExceptionThrown (Box :: new (map . next_value :: < super :: js_protocol :: runtime :: EventExceptionThrown > () ?)) , super :: js_protocol :: runtime :: EventExecutionContextCreated :: IDENTIFIER => CdpEvent :: RuntimeExecutionContextCreated (map . next_value :: < super :: js_protocol :: runtime :: EventExecutionContextCreated > () ?) , super :: js_protocol :: runtime :: EventExecutionContextDestroyed :: IDENTIFIER => CdpEvent :: RuntimeExecutionContextDestroyed (map . next_value :: < super :: js_protocol :: runtime :: EventExecutionContextDestroyed > () ?) , super :: js_protocol :: runtime :: EventExecutionContextsCleared :: IDENTIFIER => CdpEvent :: RuntimeExecutionContextsCleared (map . next_value :: < super :: js_protocol :: runtime :: EventExecutionContextsCleared > () ?) , super :: js_protocol :: runtime :: EventInspectRequested :: IDENTIFIER => CdpEvent :: RuntimeInspectRequested (Box :: new (map . next_value :: < super :: js_protocol :: runtime :: EventInspectRequested > () ?)) , super :: browser_protocol :: animation :: EventAnimationCanceled :: IDENTIFIER => CdpEvent :: AnimationAnimationCanceled (map . next_value :: < super :: browser_protocol :: animation :: EventAnimationCanceled > () ?) , super :: browser_protocol :: animation :: EventAnimationCreated :: IDENTIFIER => CdpEvent :: AnimationAnimationCreated (map . next_value :: < super :: browser_protocol :: animation :: EventAnimationCreated > () ?) , super :: browser_protocol :: animation :: EventAnimationStarted :: IDENTIFIER => CdpEvent :: AnimationAnimationStarted (Box :: new (map . next_value :: < super :: browser_protocol :: animation :: EventAnimationStarted > () ?)) , super :: browser_protocol :: application_cache :: EventApplicationCacheStatusUpdated :: IDENTIFIER => CdpEvent :: ApplicationCacheApplicationCacheStatusUpdated (map . next_value :: < super :: browser_protocol :: application_cache :: EventApplicationCacheStatusUpdated > () ?) , super :: browser_protocol :: application_cache :: EventNetworkStateUpdated :: IDENTIFIER => CdpEvent :: ApplicationCacheNetworkStateUpdated (map . next_value :: < super :: browser_protocol :: application_cache :: EventNetworkStateUpdated > () ?) , super :: browser_protocol :: audits :: EventIssueAdded :: IDENTIFIER => CdpEvent :: AuditsIssueAdded (Box :: new (map . next_value :: < super :: browser_protocol :: audits :: EventIssueAdded > () ?)) , super :: browser_protocol :: background_service :: EventRecordingStateChanged :: IDENTIFIER => CdpEvent :: BackgroundServiceRecordingStateChanged (map . next_value :: < super :: browser_protocol :: background_service :: EventRecordingStateChanged > () ?) , super :: browser_protocol :: background_service :: EventBackgroundServiceEventReceived :: IDENTIFIER => CdpEvent :: BackgroundServiceBackgroundServiceEventReceived (map . next_value :: < super :: browser_protocol :: background_service :: EventBackgroundServiceEventReceived > () ?) , super :: browser_protocol :: css :: EventFontsUpdated :: IDENTIFIER => CdpEvent :: CssFontsUpdated (Box :: new (map . next_value :: < super :: browser_protocol :: css :: EventFontsUpdated > () ?)) , super :: browser_protocol :: css :: EventMediaQueryResultChanged :: IDENTIFIER => CdpEvent :: CssMediaQueryResultChanged (map . next_value :: < super :: browser_protocol :: css :: EventMediaQueryResultChanged > () ?) , super :: browser_protocol :: css :: EventStyleSheetAdded :: IDENTIFIER => CdpEvent :: CssStyleSheetAdded (map . next_value :: < super :: browser_protocol :: css :: EventStyleSheetAdded > () ?) , super :: browser_protocol :: css :: EventStyleSheetChanged :: IDENTIFIER => CdpEvent :: CssStyleSheetChanged (map . next_value :: < super :: browser_protocol :: css :: EventStyleSheetChanged > () ?) , super :: browser_protocol :: css :: EventStyleSheetRemoved :: IDENTIFIER => CdpEvent :: CssStyleSheetRemoved (map . next_value :: < super :: browser_protocol :: css :: EventStyleSheetRemoved > () ?) , super :: browser_protocol :: cast :: EventSinksUpdated :: IDENTIFIER => CdpEvent :: CastSinksUpdated (map . next_value :: < super :: browser_protocol :: cast :: EventSinksUpdated > () ?) , super :: browser_protocol :: cast :: EventIssueUpdated :: IDENTIFIER => CdpEvent :: CastIssueUpdated (map . next_value :: < super :: browser_protocol :: cast :: EventIssueUpdated > () ?) , super :: browser_protocol :: dom :: EventAttributeModified :: IDENTIFIER => CdpEvent :: DomAttributeModified (map . next_value :: < super :: browser_protocol :: dom :: EventAttributeModified > () ?) , super :: browser_protocol :: dom :: EventAttributeRemoved :: IDENTIFIER => CdpEvent :: DomAttributeRemoved (map . next_value :: < super :: browser_protocol :: dom :: EventAttributeRemoved > () ?) , super :: browser_protocol :: dom :: EventCharacterDataModified :: IDENTIFIER => CdpEvent :: DomCharacterDataModified (map . next_value :: < super :: browser_protocol :: dom :: EventCharacterDataModified > () ?) , super :: browser_protocol :: dom :: EventChildNodeCountUpdated :: IDENTIFIER => CdpEvent :: DomChildNodeCountUpdated (map . next_value :: < super :: browser_protocol :: dom :: EventChildNodeCountUpdated > () ?) , super :: browser_protocol :: dom :: EventChildNodeInserted :: IDENTIFIER => CdpEvent :: DomChildNodeInserted (Box :: new (map . next_value :: < super :: browser_protocol :: dom :: EventChildNodeInserted > () ?)) , super :: browser_protocol :: dom :: EventChildNodeRemoved :: IDENTIFIER => CdpEvent :: DomChildNodeRemoved (map . next_value :: < super :: browser_protocol :: dom :: EventChildNodeRemoved > () ?) , super :: browser_protocol :: dom :: EventDistributedNodesUpdated :: IDENTIFIER => CdpEvent :: DomDistributedNodesUpdated (map . next_value :: < super :: browser_protocol :: dom :: EventDistributedNodesUpdated > () ?) , super :: browser_protocol :: dom :: EventDocumentUpdated :: IDENTIFIER => CdpEvent :: DomDocumentUpdated (map . next_value :: < super :: browser_protocol :: dom :: EventDocumentUpdated > () ?) , super :: browser_protocol :: dom :: EventInlineStyleInvalidated :: IDENTIFIER => CdpEvent :: DomInlineStyleInvalidated (map . next_value :: < super :: browser_protocol :: dom :: EventInlineStyleInvalidated > () ?) , super :: browser_protocol :: dom :: EventPseudoElementAdded :: IDENTIFIER => CdpEvent :: DomPseudoElementAdded (Box :: new (map . next_value :: < super :: browser_protocol :: dom :: EventPseudoElementAdded > () ?)) , super :: browser_protocol :: dom :: EventPseudoElementRemoved :: IDENTIFIER => CdpEvent :: DomPseudoElementRemoved (map . next_value :: < super :: browser_protocol :: dom :: EventPseudoElementRemoved > () ?) , super :: browser_protocol :: dom :: EventSetChildNodes :: IDENTIFIER => CdpEvent :: DomSetChildNodes (map . next_value :: < super :: browser_protocol :: dom :: EventSetChildNodes > () ?) , super :: browser_protocol :: dom :: EventShadowRootPopped :: IDENTIFIER => CdpEvent :: DomShadowRootPopped (map . next_value :: < super :: browser_protocol :: dom :: EventShadowRootPopped > () ?) , super :: browser_protocol :: dom :: EventShadowRootPushed :: IDENTIFIER => CdpEvent :: DomShadowRootPushed (Box :: new (map . next_value :: < super :: browser_protocol :: dom :: EventShadowRootPushed > () ?)) , super :: browser_protocol :: dom_storage :: EventDomStorageItemAdded :: IDENTIFIER => CdpEvent :: DomStorageDomStorageItemAdded (map . next_value :: < super :: browser_protocol :: dom_storage :: EventDomStorageItemAdded > () ?) , super :: browser_protocol :: dom_storage :: EventDomStorageItemRemoved :: IDENTIFIER => CdpEvent :: DomStorageDomStorageItemRemoved (map . next_value :: < super :: browser_protocol :: dom_storage :: EventDomStorageItemRemoved > () ?) , super :: browser_protocol :: dom_storage :: EventDomStorageItemUpdated :: IDENTIFIER => CdpEvent :: DomStorageDomStorageItemUpdated (map . next_value :: < super :: browser_protocol :: dom_storage :: EventDomStorageItemUpdated > () ?) , super :: browser_protocol :: dom_storage :: EventDomStorageItemsCleared :: IDENTIFIER => CdpEvent :: DomStorageDomStorageItemsCleared (map . next_value :: < super :: browser_protocol :: dom_storage :: EventDomStorageItemsCleared > () ?) , super :: browser_protocol :: database :: EventAddDatabase :: IDENTIFIER => CdpEvent :: DatabaseAddDatabase (map . next_value :: < super :: browser_protocol :: database :: EventAddDatabase > () ?) , super :: browser_protocol :: emulation :: EventVirtualTimeBudgetExpired :: IDENTIFIER => CdpEvent :: EmulationVirtualTimeBudgetExpired (map . next_value :: < super :: browser_protocol :: emulation :: EventVirtualTimeBudgetExpired > () ?) , super :: browser_protocol :: inspector :: EventDetached :: IDENTIFIER => CdpEvent :: InspectorDetached (map . next_value :: < super :: browser_protocol :: inspector :: EventDetached > () ?) , super :: browser_protocol :: inspector :: EventTargetCrashed :: IDENTIFIER => CdpEvent :: InspectorTargetCrashed (map . next_value :: < super :: browser_protocol :: inspector :: EventTargetCrashed > () ?) , super :: browser_protocol :: inspector :: EventTargetReloadedAfterCrash :: IDENTIFIER => CdpEvent :: InspectorTargetReloadedAfterCrash (map . next_value :: < super :: browser_protocol :: inspector :: EventTargetReloadedAfterCrash > () ?) , super :: browser_protocol :: layer_tree :: EventLayerPainted :: IDENTIFIER => CdpEvent :: LayerTreeLayerPainted (map . next_value :: < super :: browser_protocol :: layer_tree :: EventLayerPainted > () ?) , super :: browser_protocol :: layer_tree :: EventLayerTreeDidChange :: IDENTIFIER => CdpEvent :: LayerTreeLayerTreeDidChange (map . next_value :: < super :: browser_protocol :: layer_tree :: EventLayerTreeDidChange > () ?) , super :: browser_protocol :: log :: EventEntryAdded :: IDENTIFIER => CdpEvent :: LogEntryAdded (Box :: new (map . next_value :: < super :: browser_protocol :: log :: EventEntryAdded > () ?)) , super :: browser_protocol :: network :: EventDataReceived :: IDENTIFIER => CdpEvent :: NetworkDataReceived (map . next_value :: < super :: browser_protocol :: network :: EventDataReceived > () ?) , super :: browser_protocol :: network :: EventEventSourceMessageReceived :: IDENTIFIER => CdpEvent :: NetworkEventSourceMessageReceived (map . next_value :: < super :: browser_protocol :: network :: EventEventSourceMessageReceived > () ?) , super :: browser_protocol :: network :: EventLoadingFailed :: IDENTIFIER => CdpEvent :: NetworkLoadingFailed (map . next_value :: < super :: browser_protocol :: network :: EventLoadingFailed > () ?) , super :: browser_protocol :: network :: EventLoadingFinished :: IDENTIFIER => CdpEvent :: NetworkLoadingFinished (map . next_value :: < super :: browser_protocol :: network :: EventLoadingFinished > () ?) , super :: browser_protocol :: network :: EventRequestServedFromCache :: IDENTIFIER => CdpEvent :: NetworkRequestServedFromCache (map . next_value :: < super :: browser_protocol :: network :: EventRequestServedFromCache > () ?) , super :: browser_protocol :: network :: EventRequestWillBeSent :: IDENTIFIER => CdpEvent :: NetworkRequestWillBeSent (Box :: new (map . next_value :: < super :: browser_protocol :: network :: EventRequestWillBeSent > () ?)) , super :: browser_protocol :: network :: EventResourceChangedPriority :: IDENTIFIER => CdpEvent :: NetworkResourceChangedPriority (map . next_value :: < super :: browser_protocol :: network :: EventResourceChangedPriority > () ?) , super :: browser_protocol :: network :: EventSignedExchangeReceived :: IDENTIFIER => CdpEvent :: NetworkSignedExchangeReceived (Box :: new (map . next_value :: < super :: browser_protocol :: network :: EventSignedExchangeReceived > () ?)) , super :: browser_protocol :: network :: EventResponseReceived :: IDENTIFIER => CdpEvent :: NetworkResponseReceived (Box :: new (map . next_value :: < super :: browser_protocol :: network :: EventResponseReceived > () ?)) , super :: browser_protocol :: network :: EventWebSocketClosed :: IDENTIFIER => CdpEvent :: NetworkWebSocketClosed (map . next_value :: < super :: browser_protocol :: network :: EventWebSocketClosed > () ?) , super :: browser_protocol :: network :: EventWebSocketCreated :: IDENTIFIER => CdpEvent :: NetworkWebSocketCreated (Box :: new (map . next_value :: < super :: browser_protocol :: network :: EventWebSocketCreated > () ?)) , super :: browser_protocol :: network :: EventWebSocketFrameError :: IDENTIFIER => CdpEvent :: NetworkWebSocketFrameError (map . next_value :: < super :: browser_protocol :: network :: EventWebSocketFrameError > () ?) , super :: browser_protocol :: network :: EventWebSocketFrameReceived :: IDENTIFIER => CdpEvent :: NetworkWebSocketFrameReceived (map . next_value :: < super :: browser_protocol :: network :: EventWebSocketFrameReceived > () ?) , super :: browser_protocol :: network :: EventWebSocketFrameSent :: IDENTIFIER => CdpEvent :: NetworkWebSocketFrameSent (map . next_value :: < super :: browser_protocol :: network :: EventWebSocketFrameSent > () ?) , super :: browser_protocol :: network :: EventWebSocketHandshakeResponseReceived :: IDENTIFIER => CdpEvent :: NetworkWebSocketHandshakeResponseReceived (map . next_value :: < super :: browser_protocol :: network :: EventWebSocketHandshakeResponseReceived > () ?) , super :: browser_protocol :: network :: EventWebSocketWillSendHandshakeRequest :: IDENTIFIER => CdpEvent :: NetworkWebSocketWillSendHandshakeRequest (map . next_value :: < super :: browser_protocol :: network :: EventWebSocketWillSendHandshakeRequest > () ?) , super :: browser_protocol :: network :: EventRequestWillBeSentExtraInfo :: IDENTIFIER => CdpEvent :: NetworkRequestWillBeSentExtraInfo (map . next_value :: < super :: browser_protocol :: network :: EventRequestWillBeSentExtraInfo > () ?) , super :: browser_protocol :: network :: EventResponseReceivedExtraInfo :: IDENTIFIER => CdpEvent :: NetworkResponseReceivedExtraInfo (map . next_value :: < super :: browser_protocol :: network :: EventResponseReceivedExtraInfo > () ?) , super :: browser_protocol :: overlay :: EventInspectNodeRequested :: IDENTIFIER => CdpEvent :: OverlayInspectNodeRequested (map . next_value :: < super :: browser_protocol :: overlay :: EventInspectNodeRequested > () ?) , super :: browser_protocol :: overlay :: EventNodeHighlightRequested :: IDENTIFIER => CdpEvent :: OverlayNodeHighlightRequested (map . next_value :: < super :: browser_protocol :: overlay :: EventNodeHighlightRequested > () ?) , super :: browser_protocol :: overlay :: EventScreenshotRequested :: IDENTIFIER => CdpEvent :: OverlayScreenshotRequested (map . next_value :: < super :: browser_protocol :: overlay :: EventScreenshotRequested > () ?) , super :: browser_protocol :: overlay :: EventInspectModeCanceled :: IDENTIFIER => CdpEvent :: OverlayInspectModeCanceled (map . next_value :: < super :: browser_protocol :: overlay :: EventInspectModeCanceled > () ?) , super :: browser_protocol :: page :: EventDomContentEventFired :: IDENTIFIER => CdpEvent :: PageDomContentEventFired (map . next_value :: < super :: browser_protocol :: page :: EventDomContentEventFired > () ?) , super :: browser_protocol :: page :: EventFileChooserOpened :: IDENTIFIER => CdpEvent :: PageFileChooserOpened (map . next_value :: < super :: browser_protocol :: page :: EventFileChooserOpened > () ?) , super :: browser_protocol :: page :: EventFrameAttached :: IDENTIFIER => CdpEvent :: PageFrameAttached (map . next_value :: < super :: browser_protocol :: page :: EventFrameAttached > () ?) , super :: browser_protocol :: page :: EventFrameDetached :: IDENTIFIER => CdpEvent :: PageFrameDetached (map . next_value :: < super :: browser_protocol :: page :: EventFrameDetached > () ?) , super :: browser_protocol :: page :: EventFrameNavigated :: IDENTIFIER => CdpEvent :: PageFrameNavigated (Box :: new (map . next_value :: < super :: browser_protocol :: page :: EventFrameNavigated > () ?)) , super :: browser_protocol :: page :: EventFrameResized :: IDENTIFIER => CdpEvent :: PageFrameResized (map . next_value :: < super :: browser_protocol :: page :: EventFrameResized > () ?) , super :: browser_protocol :: page :: EventFrameRequestedNavigation :: IDENTIFIER => CdpEvent :: PageFrameRequestedNavigation (map . next_value :: < super :: browser_protocol :: page :: EventFrameRequestedNavigation > () ?) , super :: browser_protocol :: page :: EventFrameStartedLoading :: IDENTIFIER => CdpEvent :: PageFrameStartedLoading (map . next_value :: < super :: browser_protocol :: page :: EventFrameStartedLoading > () ?) , super :: browser_protocol :: page :: EventFrameStoppedLoading :: IDENTIFIER => CdpEvent :: PageFrameStoppedLoading (map . next_value :: < super :: browser_protocol :: page :: EventFrameStoppedLoading > () ?) , super :: browser_protocol :: page :: EventDownloadWillBegin :: IDENTIFIER => CdpEvent :: PageDownloadWillBegin (map . next_value :: < super :: browser_protocol :: page :: EventDownloadWillBegin > () ?) , super :: browser_protocol :: page :: EventDownloadProgress :: IDENTIFIER => CdpEvent :: PageDownloadProgress (map . next_value :: < super :: browser_protocol :: page :: EventDownloadProgress > () ?) , super :: browser_protocol :: page :: EventInterstitialHidden :: IDENTIFIER => CdpEvent :: PageInterstitialHidden (map . next_value :: < super :: browser_protocol :: page :: EventInterstitialHidden > () ?) , super :: browser_protocol :: page :: EventInterstitialShown :: IDENTIFIER => CdpEvent :: PageInterstitialShown (map . next_value :: < super :: browser_protocol :: page :: EventInterstitialShown > () ?) , super :: browser_protocol :: page :: EventJavascriptDialogClosed :: IDENTIFIER => CdpEvent :: PageJavascriptDialogClosed (map . next_value :: < super :: browser_protocol :: page :: EventJavascriptDialogClosed > () ?) , super :: browser_protocol :: page :: EventJavascriptDialogOpening :: IDENTIFIER => CdpEvent :: PageJavascriptDialogOpening (map . next_value :: < super :: browser_protocol :: page :: EventJavascriptDialogOpening > () ?) , super :: browser_protocol :: page :: EventLifecycleEvent :: IDENTIFIER => CdpEvent :: PageLifecycleEvent (map . next_value :: < super :: browser_protocol :: page :: EventLifecycleEvent > () ?) , super :: browser_protocol :: page :: EventLoadEventFired :: IDENTIFIER => CdpEvent :: PageLoadEventFired (map . next_value :: < super :: browser_protocol :: page :: EventLoadEventFired > () ?) , super :: browser_protocol :: page :: EventNavigatedWithinDocument :: IDENTIFIER => CdpEvent :: PageNavigatedWithinDocument (map . next_value :: < super :: browser_protocol :: page :: EventNavigatedWithinDocument > () ?) , super :: browser_protocol :: page :: EventScreencastFrame :: IDENTIFIER => CdpEvent :: PageScreencastFrame (map . next_value :: < super :: browser_protocol :: page :: EventScreencastFrame > () ?) , super :: browser_protocol :: page :: EventScreencastVisibilityChanged :: IDENTIFIER => CdpEvent :: PageScreencastVisibilityChanged (map . next_value :: < super :: browser_protocol :: page :: EventScreencastVisibilityChanged > () ?) , super :: browser_protocol :: page :: EventWindowOpen :: IDENTIFIER => CdpEvent :: PageWindowOpen (map . next_value :: < super :: browser_protocol :: page :: EventWindowOpen > () ?) , super :: browser_protocol :: page :: EventCompilationCacheProduced :: IDENTIFIER => CdpEvent :: PageCompilationCacheProduced (map . next_value :: < super :: browser_protocol :: page :: EventCompilationCacheProduced > () ?) , super :: browser_protocol :: performance :: EventMetrics :: IDENTIFIER => CdpEvent :: PerformanceMetrics (map . next_value :: < super :: browser_protocol :: performance :: EventMetrics > () ?) , super :: browser_protocol :: security :: EventVisibleSecurityStateChanged :: IDENTIFIER => CdpEvent :: SecurityVisibleSecurityStateChanged (Box :: new (map . next_value :: < super :: browser_protocol :: security :: EventVisibleSecurityStateChanged > () ?)) , super :: browser_protocol :: security :: EventSecurityStateChanged :: IDENTIFIER => CdpEvent :: SecuritySecurityStateChanged (map . next_value :: < super :: browser_protocol :: security :: EventSecurityStateChanged > () ?) , super :: browser_protocol :: service_worker :: EventWorkerErrorReported :: IDENTIFIER => CdpEvent :: ServiceWorkerWorkerErrorReported (map . next_value :: < super :: browser_protocol :: service_worker :: EventWorkerErrorReported > () ?) , super :: browser_protocol :: service_worker :: EventWorkerRegistrationUpdated :: IDENTIFIER => CdpEvent :: ServiceWorkerWorkerRegistrationUpdated (map . next_value :: < super :: browser_protocol :: service_worker :: EventWorkerRegistrationUpdated > () ?) , super :: browser_protocol :: service_worker :: EventWorkerVersionUpdated :: IDENTIFIER => CdpEvent :: ServiceWorkerWorkerVersionUpdated (map . next_value :: < super :: browser_protocol :: service_worker :: EventWorkerVersionUpdated > () ?) , super :: browser_protocol :: storage :: EventCacheStorageContentUpdated :: IDENTIFIER => CdpEvent :: StorageCacheStorageContentUpdated (map . next_value :: < super :: browser_protocol :: storage :: EventCacheStorageContentUpdated > () ?) , super :: browser_protocol :: storage :: EventCacheStorageListUpdated :: IDENTIFIER => CdpEvent :: StorageCacheStorageListUpdated (map . next_value :: < super :: browser_protocol :: storage :: EventCacheStorageListUpdated > () ?) , super :: browser_protocol :: storage :: EventIndexedDbContentUpdated :: IDENTIFIER => CdpEvent :: StorageIndexedDbContentUpdated (map . next_value :: < super :: browser_protocol :: storage :: EventIndexedDbContentUpdated > () ?) , super :: browser_protocol :: storage :: EventIndexedDbListUpdated :: IDENTIFIER => CdpEvent :: StorageIndexedDbListUpdated (map . next_value :: < super :: browser_protocol :: storage :: EventIndexedDbListUpdated > () ?) , super :: browser_protocol :: target :: EventAttachedToTarget :: IDENTIFIER => CdpEvent :: TargetAttachedToTarget (map . next_value :: < super :: browser_protocol :: target :: EventAttachedToTarget > () ?) , super :: browser_protocol :: target :: EventDetachedFromTarget :: IDENTIFIER => CdpEvent :: TargetDetachedFromTarget (map . next_value :: < super :: browser_protocol :: target :: EventDetachedFromTarget > () ?) , super :: browser_protocol :: target :: EventReceivedMessageFromTarget :: IDENTIFIER => CdpEvent :: TargetReceivedMessageFromTarget (map . next_value :: < super :: browser_protocol :: target :: EventReceivedMessageFromTarget > () ?) , super :: browser_protocol :: target :: EventTargetCreated :: IDENTIFIER => CdpEvent :: TargetTargetCreated (map . next_value :: < super :: browser_protocol :: target :: EventTargetCreated > () ?) , super :: browser_protocol :: target :: EventTargetDestroyed :: IDENTIFIER => CdpEvent :: TargetTargetDestroyed (map . next_value :: < super :: browser_protocol :: target :: EventTargetDestroyed > () ?) , super :: browser_protocol :: target :: EventTargetCrashed :: IDENTIFIER => CdpEvent :: TargetTargetCrashed (map . next_value :: < super :: browser_protocol :: target :: EventTargetCrashed > () ?) , super :: browser_protocol :: target :: EventTargetInfoChanged :: IDENTIFIER => CdpEvent :: TargetTargetInfoChanged (map . next_value :: < super :: browser_protocol :: target :: EventTargetInfoChanged > () ?) , super :: browser_protocol :: tethering :: EventAccepted :: IDENTIFIER => CdpEvent :: TetheringAccepted (map . next_value :: < super :: browser_protocol :: tethering :: EventAccepted > () ?) , super :: browser_protocol :: tracing :: EventBufferUsage :: IDENTIFIER => CdpEvent :: TracingBufferUsage (map . next_value :: < super :: browser_protocol :: tracing :: EventBufferUsage > () ?) , super :: browser_protocol :: tracing :: EventDataCollected :: IDENTIFIER => CdpEvent :: TracingDataCollected (map . next_value :: < super :: browser_protocol :: tracing :: EventDataCollected > () ?) , super :: browser_protocol :: tracing :: EventTracingComplete :: IDENTIFIER => CdpEvent :: TracingTracingComplete (map . next_value :: < super :: browser_protocol :: tracing :: EventTracingComplete > () ?) , super :: browser_protocol :: fetch :: EventRequestPaused :: IDENTIFIER => CdpEvent :: FetchRequestPaused (Box :: new (map . next_value :: < super :: browser_protocol :: fetch :: EventRequestPaused > () ?)) , super :: browser_protocol :: fetch :: EventAuthRequired :: IDENTIFIER => CdpEvent :: FetchAuthRequired (Box :: new (map . next_value :: < super :: browser_protocol :: fetch :: EventAuthRequired > () ?)) , super :: browser_protocol :: web_audio :: EventContextCreated :: IDENTIFIER => CdpEvent :: WebAudioContextCreated (map . next_value :: < super :: browser_protocol :: web_audio :: EventContextCreated > () ?) , super :: browser_protocol :: web_audio :: EventContextWillBeDestroyed :: IDENTIFIER => CdpEvent :: WebAudioContextWillBeDestroyed (map . next_value :: < super :: browser_protocol :: web_audio :: EventContextWillBeDestroyed > () ?) , super :: browser_protocol :: web_audio :: EventContextChanged :: IDENTIFIER => CdpEvent :: WebAudioContextChanged (map . next_value :: < super :: browser_protocol :: web_audio :: EventContextChanged > () ?) , super :: browser_protocol :: web_audio :: EventAudioListenerCreated :: IDENTIFIER => CdpEvent :: WebAudioAudioListenerCreated (map . next_value :: < super :: browser_protocol :: web_audio :: EventAudioListenerCreated > () ?) , super :: browser_protocol :: web_audio :: EventAudioListenerWillBeDestroyed :: IDENTIFIER => CdpEvent :: WebAudioAudioListenerWillBeDestroyed (map . next_value :: < super :: browser_protocol :: web_audio :: EventAudioListenerWillBeDestroyed > () ?) , super :: browser_protocol :: web_audio :: EventAudioNodeCreated :: IDENTIFIER => CdpEvent :: WebAudioAudioNodeCreated (map . next_value :: < super :: browser_protocol :: web_audio :: EventAudioNodeCreated > () ?) , super :: browser_protocol :: web_audio :: EventAudioNodeWillBeDestroyed :: IDENTIFIER => CdpEvent :: WebAudioAudioNodeWillBeDestroyed (map . next_value :: < super :: browser_protocol :: web_audio :: EventAudioNodeWillBeDestroyed > () ?) , super :: browser_protocol :: web_audio :: EventAudioParamCreated :: IDENTIFIER => CdpEvent :: WebAudioAudioParamCreated (map . next_value :: < super :: browser_protocol :: web_audio :: EventAudioParamCreated > () ?) , super :: browser_protocol :: web_audio :: EventAudioParamWillBeDestroyed :: IDENTIFIER => CdpEvent :: WebAudioAudioParamWillBeDestroyed (map . next_value :: < super :: browser_protocol :: web_audio :: EventAudioParamWillBeDestroyed > () ?) , super :: browser_protocol :: web_audio :: EventNodesConnected :: IDENTIFIER => CdpEvent :: WebAudioNodesConnected (map . next_value :: < super :: browser_protocol :: web_audio :: EventNodesConnected > () ?) , super :: browser_protocol :: web_audio :: EventNodesDisconnected :: IDENTIFIER => CdpEvent :: WebAudioNodesDisconnected (map . next_value :: < super :: browser_protocol :: web_audio :: EventNodesDisconnected > () ?) , super :: browser_protocol :: web_audio :: EventNodeParamConnected :: IDENTIFIER => CdpEvent :: WebAudioNodeParamConnected (map . next_value :: < super :: browser_protocol :: web_audio :: EventNodeParamConnected > () ?) , super :: browser_protocol :: web_audio :: EventNodeParamDisconnected :: IDENTIFIER => CdpEvent :: WebAudioNodeParamDisconnected (map . next_value :: < super :: browser_protocol :: web_audio :: EventNodeParamDisconnected > () ?) , super :: browser_protocol :: media :: EventPlayerPropertiesChanged :: IDENTIFIER => CdpEvent :: MediaPlayerPropertiesChanged (map . next_value :: < super :: browser_protocol :: media :: EventPlayerPropertiesChanged > () ?) , super :: browser_protocol :: media :: EventPlayerEventsAdded :: IDENTIFIER => CdpEvent :: MediaPlayerEventsAdded (map . next_value :: < super :: browser_protocol :: media :: EventPlayerEventsAdded > () ?) , super :: browser_protocol :: media :: EventPlayerMessagesLogged :: IDENTIFIER => CdpEvent :: MediaPlayerMessagesLogged (map . next_value :: < super :: browser_protocol :: media :: EventPlayerMessagesLogged > () ?) , super :: browser_protocol :: media :: EventPlayerErrorsRaised :: IDENTIFIER => CdpEvent :: MediaPlayerErrorsRaised (map . next_value :: < super :: browser_protocol :: media :: EventPlayerErrorsRaised > () ?) , super :: browser_protocol :: media :: EventPlayersCreated :: IDENTIFIER => CdpEvent :: MediaPlayersCreated (map . next_value :: < super :: browser_protocol :: media :: EventPlayersCreated > () ?) , _ => CdpEvent :: Other (map . next_value :: < serde_json :: Value > () ?) }) ; } } } let method = method . ok_or_else (|| de :: Error :: missing_field (\"method\")) ? ; let params = params . ok_or_else (|| de :: Error :: missing_field (\"params\")) ? ; Ok (CdpEventMessage { method : :: std :: borrow :: Cow :: Owned (method) , session_id , params }) } } const FIELDS : & [& str] = & [\"method\" , \"sessionId\" , \"params\"] ; deserializer . deserialize_struct (\"CdpEventMessage\" , FIELDS , MessageVisitor) } } impl std :: convert :: TryInto < chromiumoxide_types :: CdpJsonEventMessage > for CdpEventMessage { type Error = serde_json :: Error ; fn try_into (self) -> Result < chromiumoxide_types :: CdpJsonEventMessage , Self :: Error > { use chromiumoxide_types :: Method ; Ok (chromiumoxide_types :: CdpJsonEventMessage { method : self . identifier () , session_id : self . session_id , params : self . params . into_json () ? }) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: debugger :: EventBreakpointResolved { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DebuggerBreakpointResolved (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: debugger :: EventBreakpointResolved > for CdpEvent { fn from (el : super :: js_protocol :: debugger :: EventBreakpointResolved) -> CdpEvent { CdpEvent :: DebuggerBreakpointResolved (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: debugger :: EventPaused { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DebuggerPaused (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: debugger :: EventPaused > for CdpEvent { fn from (el : super :: js_protocol :: debugger :: EventPaused) -> CdpEvent { CdpEvent :: DebuggerPaused (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: debugger :: EventResumed { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DebuggerResumed (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: debugger :: EventResumed > for CdpEvent { fn from (el : super :: js_protocol :: debugger :: EventResumed) -> CdpEvent { CdpEvent :: DebuggerResumed (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: debugger :: EventScriptFailedToParse { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DebuggerScriptFailedToParse (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: js_protocol :: debugger :: EventScriptFailedToParse > for CdpEvent { fn from (el : super :: js_protocol :: debugger :: EventScriptFailedToParse) -> CdpEvent { CdpEvent :: DebuggerScriptFailedToParse (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: debugger :: EventScriptParsed { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DebuggerScriptParsed (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: js_protocol :: debugger :: EventScriptParsed > for CdpEvent { fn from (el : super :: js_protocol :: debugger :: EventScriptParsed) -> CdpEvent { CdpEvent :: DebuggerScriptParsed (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: heap_profiler :: EventAddHeapSnapshotChunk { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: HeapProfilerAddHeapSnapshotChunk (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: heap_profiler :: EventAddHeapSnapshotChunk > for CdpEvent { fn from (el : super :: js_protocol :: heap_profiler :: EventAddHeapSnapshotChunk) -> CdpEvent { CdpEvent :: HeapProfilerAddHeapSnapshotChunk (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: heap_profiler :: EventHeapStatsUpdate { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: HeapProfilerHeapStatsUpdate (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: heap_profiler :: EventHeapStatsUpdate > for CdpEvent { fn from (el : super :: js_protocol :: heap_profiler :: EventHeapStatsUpdate) -> CdpEvent { CdpEvent :: HeapProfilerHeapStatsUpdate (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: heap_profiler :: EventLastSeenObjectId { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: HeapProfilerLastSeenObjectId (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: heap_profiler :: EventLastSeenObjectId > for CdpEvent { fn from (el : super :: js_protocol :: heap_profiler :: EventLastSeenObjectId) -> CdpEvent { CdpEvent :: HeapProfilerLastSeenObjectId (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: heap_profiler :: EventReportHeapSnapshotProgress { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: HeapProfilerReportHeapSnapshotProgress (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: heap_profiler :: EventReportHeapSnapshotProgress > for CdpEvent { fn from (el : super :: js_protocol :: heap_profiler :: EventReportHeapSnapshotProgress) -> CdpEvent { CdpEvent :: HeapProfilerReportHeapSnapshotProgress (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: heap_profiler :: EventResetProfiles { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: HeapProfilerResetProfiles (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: heap_profiler :: EventResetProfiles > for CdpEvent { fn from (el : super :: js_protocol :: heap_profiler :: EventResetProfiles) -> CdpEvent { CdpEvent :: HeapProfilerResetProfiles (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: profiler :: EventConsoleProfileFinished { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: ProfilerConsoleProfileFinished (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: profiler :: EventConsoleProfileFinished > for CdpEvent { fn from (el : super :: js_protocol :: profiler :: EventConsoleProfileFinished) -> CdpEvent { CdpEvent :: ProfilerConsoleProfileFinished (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: profiler :: EventConsoleProfileStarted { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: ProfilerConsoleProfileStarted (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: profiler :: EventConsoleProfileStarted > for CdpEvent { fn from (el : super :: js_protocol :: profiler :: EventConsoleProfileStarted) -> CdpEvent { CdpEvent :: ProfilerConsoleProfileStarted (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: profiler :: EventPreciseCoverageDeltaUpdate { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: ProfilerPreciseCoverageDeltaUpdate (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: profiler :: EventPreciseCoverageDeltaUpdate > for CdpEvent { fn from (el : super :: js_protocol :: profiler :: EventPreciseCoverageDeltaUpdate) -> CdpEvent { CdpEvent :: ProfilerPreciseCoverageDeltaUpdate (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: runtime :: EventBindingCalled { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: RuntimeBindingCalled (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: runtime :: EventBindingCalled > for CdpEvent { fn from (el : super :: js_protocol :: runtime :: EventBindingCalled) -> CdpEvent { CdpEvent :: RuntimeBindingCalled (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: runtime :: EventConsoleApiCalled { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: RuntimeConsoleApiCalled (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: runtime :: EventConsoleApiCalled > for CdpEvent { fn from (el : super :: js_protocol :: runtime :: EventConsoleApiCalled) -> CdpEvent { CdpEvent :: RuntimeConsoleApiCalled (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: runtime :: EventExceptionRevoked { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: RuntimeExceptionRevoked (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: runtime :: EventExceptionRevoked > for CdpEvent { fn from (el : super :: js_protocol :: runtime :: EventExceptionRevoked) -> CdpEvent { CdpEvent :: RuntimeExceptionRevoked (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: runtime :: EventExceptionThrown { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: RuntimeExceptionThrown (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: js_protocol :: runtime :: EventExceptionThrown > for CdpEvent { fn from (el : super :: js_protocol :: runtime :: EventExceptionThrown) -> CdpEvent { CdpEvent :: RuntimeExceptionThrown (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: runtime :: EventExecutionContextCreated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: RuntimeExecutionContextCreated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: runtime :: EventExecutionContextCreated > for CdpEvent { fn from (el : super :: js_protocol :: runtime :: EventExecutionContextCreated) -> CdpEvent { CdpEvent :: RuntimeExecutionContextCreated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: runtime :: EventExecutionContextDestroyed { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: RuntimeExecutionContextDestroyed (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: runtime :: EventExecutionContextDestroyed > for CdpEvent { fn from (el : super :: js_protocol :: runtime :: EventExecutionContextDestroyed) -> CdpEvent { CdpEvent :: RuntimeExecutionContextDestroyed (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: runtime :: EventExecutionContextsCleared { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: RuntimeExecutionContextsCleared (val) => Ok (val) , _ => Err (event) } } } impl From < super :: js_protocol :: runtime :: EventExecutionContextsCleared > for CdpEvent { fn from (el : super :: js_protocol :: runtime :: EventExecutionContextsCleared) -> CdpEvent { CdpEvent :: RuntimeExecutionContextsCleared (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: js_protocol :: runtime :: EventInspectRequested { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: RuntimeInspectRequested (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: js_protocol :: runtime :: EventInspectRequested > for CdpEvent { fn from (el : super :: js_protocol :: runtime :: EventInspectRequested) -> CdpEvent { CdpEvent :: RuntimeInspectRequested (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: animation :: EventAnimationCanceled { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: AnimationAnimationCanceled (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: animation :: EventAnimationCanceled > for CdpEvent { fn from (el : super :: browser_protocol :: animation :: EventAnimationCanceled) -> CdpEvent { CdpEvent :: AnimationAnimationCanceled (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: animation :: EventAnimationCreated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: AnimationAnimationCreated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: animation :: EventAnimationCreated > for CdpEvent { fn from (el : super :: browser_protocol :: animation :: EventAnimationCreated) -> CdpEvent { CdpEvent :: AnimationAnimationCreated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: animation :: EventAnimationStarted { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: AnimationAnimationStarted (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: animation :: EventAnimationStarted > for CdpEvent { fn from (el : super :: browser_protocol :: animation :: EventAnimationStarted) -> CdpEvent { CdpEvent :: AnimationAnimationStarted (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: application_cache :: EventApplicationCacheStatusUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: ApplicationCacheApplicationCacheStatusUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: application_cache :: EventApplicationCacheStatusUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: application_cache :: EventApplicationCacheStatusUpdated) -> CdpEvent { CdpEvent :: ApplicationCacheApplicationCacheStatusUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: application_cache :: EventNetworkStateUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: ApplicationCacheNetworkStateUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: application_cache :: EventNetworkStateUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: application_cache :: EventNetworkStateUpdated) -> CdpEvent { CdpEvent :: ApplicationCacheNetworkStateUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: audits :: EventIssueAdded { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: AuditsIssueAdded (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: audits :: EventIssueAdded > for CdpEvent { fn from (el : super :: browser_protocol :: audits :: EventIssueAdded) -> CdpEvent { CdpEvent :: AuditsIssueAdded (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: background_service :: EventRecordingStateChanged { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: BackgroundServiceRecordingStateChanged (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: background_service :: EventRecordingStateChanged > for CdpEvent { fn from (el : super :: browser_protocol :: background_service :: EventRecordingStateChanged) -> CdpEvent { CdpEvent :: BackgroundServiceRecordingStateChanged (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: background_service :: EventBackgroundServiceEventReceived { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: BackgroundServiceBackgroundServiceEventReceived (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: background_service :: EventBackgroundServiceEventReceived > for CdpEvent { fn from (el : super :: browser_protocol :: background_service :: EventBackgroundServiceEventReceived) -> CdpEvent { CdpEvent :: BackgroundServiceBackgroundServiceEventReceived (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: css :: EventFontsUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: CssFontsUpdated (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: css :: EventFontsUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: css :: EventFontsUpdated) -> CdpEvent { CdpEvent :: CssFontsUpdated (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: css :: EventMediaQueryResultChanged { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: CssMediaQueryResultChanged (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: css :: EventMediaQueryResultChanged > for CdpEvent { fn from (el : super :: browser_protocol :: css :: EventMediaQueryResultChanged) -> CdpEvent { CdpEvent :: CssMediaQueryResultChanged (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: css :: EventStyleSheetAdded { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: CssStyleSheetAdded (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: css :: EventStyleSheetAdded > for CdpEvent { fn from (el : super :: browser_protocol :: css :: EventStyleSheetAdded) -> CdpEvent { CdpEvent :: CssStyleSheetAdded (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: css :: EventStyleSheetChanged { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: CssStyleSheetChanged (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: css :: EventStyleSheetChanged > for CdpEvent { fn from (el : super :: browser_protocol :: css :: EventStyleSheetChanged) -> CdpEvent { CdpEvent :: CssStyleSheetChanged (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: css :: EventStyleSheetRemoved { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: CssStyleSheetRemoved (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: css :: EventStyleSheetRemoved > for CdpEvent { fn from (el : super :: browser_protocol :: css :: EventStyleSheetRemoved) -> CdpEvent { CdpEvent :: CssStyleSheetRemoved (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: cast :: EventSinksUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: CastSinksUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: cast :: EventSinksUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: cast :: EventSinksUpdated) -> CdpEvent { CdpEvent :: CastSinksUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: cast :: EventIssueUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: CastIssueUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: cast :: EventIssueUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: cast :: EventIssueUpdated) -> CdpEvent { CdpEvent :: CastIssueUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventAttributeModified { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomAttributeModified (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventAttributeModified > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventAttributeModified) -> CdpEvent { CdpEvent :: DomAttributeModified (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventAttributeRemoved { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomAttributeRemoved (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventAttributeRemoved > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventAttributeRemoved) -> CdpEvent { CdpEvent :: DomAttributeRemoved (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventCharacterDataModified { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomCharacterDataModified (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventCharacterDataModified > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventCharacterDataModified) -> CdpEvent { CdpEvent :: DomCharacterDataModified (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventChildNodeCountUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomChildNodeCountUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventChildNodeCountUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventChildNodeCountUpdated) -> CdpEvent { CdpEvent :: DomChildNodeCountUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventChildNodeInserted { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomChildNodeInserted (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventChildNodeInserted > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventChildNodeInserted) -> CdpEvent { CdpEvent :: DomChildNodeInserted (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventChildNodeRemoved { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomChildNodeRemoved (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventChildNodeRemoved > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventChildNodeRemoved) -> CdpEvent { CdpEvent :: DomChildNodeRemoved (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventDistributedNodesUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomDistributedNodesUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventDistributedNodesUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventDistributedNodesUpdated) -> CdpEvent { CdpEvent :: DomDistributedNodesUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventDocumentUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomDocumentUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventDocumentUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventDocumentUpdated) -> CdpEvent { CdpEvent :: DomDocumentUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventInlineStyleInvalidated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomInlineStyleInvalidated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventInlineStyleInvalidated > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventInlineStyleInvalidated) -> CdpEvent { CdpEvent :: DomInlineStyleInvalidated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventPseudoElementAdded { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomPseudoElementAdded (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventPseudoElementAdded > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventPseudoElementAdded) -> CdpEvent { CdpEvent :: DomPseudoElementAdded (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventPseudoElementRemoved { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomPseudoElementRemoved (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventPseudoElementRemoved > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventPseudoElementRemoved) -> CdpEvent { CdpEvent :: DomPseudoElementRemoved (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventSetChildNodes { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomSetChildNodes (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventSetChildNodes > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventSetChildNodes) -> CdpEvent { CdpEvent :: DomSetChildNodes (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventShadowRootPopped { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomShadowRootPopped (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventShadowRootPopped > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventShadowRootPopped) -> CdpEvent { CdpEvent :: DomShadowRootPopped (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom :: EventShadowRootPushed { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomShadowRootPushed (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom :: EventShadowRootPushed > for CdpEvent { fn from (el : super :: browser_protocol :: dom :: EventShadowRootPushed) -> CdpEvent { CdpEvent :: DomShadowRootPushed (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom_storage :: EventDomStorageItemAdded { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomStorageDomStorageItemAdded (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom_storage :: EventDomStorageItemAdded > for CdpEvent { fn from (el : super :: browser_protocol :: dom_storage :: EventDomStorageItemAdded) -> CdpEvent { CdpEvent :: DomStorageDomStorageItemAdded (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom_storage :: EventDomStorageItemRemoved { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomStorageDomStorageItemRemoved (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom_storage :: EventDomStorageItemRemoved > for CdpEvent { fn from (el : super :: browser_protocol :: dom_storage :: EventDomStorageItemRemoved) -> CdpEvent { CdpEvent :: DomStorageDomStorageItemRemoved (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom_storage :: EventDomStorageItemUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomStorageDomStorageItemUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom_storage :: EventDomStorageItemUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: dom_storage :: EventDomStorageItemUpdated) -> CdpEvent { CdpEvent :: DomStorageDomStorageItemUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: dom_storage :: EventDomStorageItemsCleared { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DomStorageDomStorageItemsCleared (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: dom_storage :: EventDomStorageItemsCleared > for CdpEvent { fn from (el : super :: browser_protocol :: dom_storage :: EventDomStorageItemsCleared) -> CdpEvent { CdpEvent :: DomStorageDomStorageItemsCleared (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: database :: EventAddDatabase { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: DatabaseAddDatabase (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: database :: EventAddDatabase > for CdpEvent { fn from (el : super :: browser_protocol :: database :: EventAddDatabase) -> CdpEvent { CdpEvent :: DatabaseAddDatabase (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: emulation :: EventVirtualTimeBudgetExpired { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: EmulationVirtualTimeBudgetExpired (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: emulation :: EventVirtualTimeBudgetExpired > for CdpEvent { fn from (el : super :: browser_protocol :: emulation :: EventVirtualTimeBudgetExpired) -> CdpEvent { CdpEvent :: EmulationVirtualTimeBudgetExpired (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: inspector :: EventDetached { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: InspectorDetached (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: inspector :: EventDetached > for CdpEvent { fn from (el : super :: browser_protocol :: inspector :: EventDetached) -> CdpEvent { CdpEvent :: InspectorDetached (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: inspector :: EventTargetCrashed { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: InspectorTargetCrashed (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: inspector :: EventTargetCrashed > for CdpEvent { fn from (el : super :: browser_protocol :: inspector :: EventTargetCrashed) -> CdpEvent { CdpEvent :: InspectorTargetCrashed (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: inspector :: EventTargetReloadedAfterCrash { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: InspectorTargetReloadedAfterCrash (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: inspector :: EventTargetReloadedAfterCrash > for CdpEvent { fn from (el : super :: browser_protocol :: inspector :: EventTargetReloadedAfterCrash) -> CdpEvent { CdpEvent :: InspectorTargetReloadedAfterCrash (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: layer_tree :: EventLayerPainted { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: LayerTreeLayerPainted (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: layer_tree :: EventLayerPainted > for CdpEvent { fn from (el : super :: browser_protocol :: layer_tree :: EventLayerPainted) -> CdpEvent { CdpEvent :: LayerTreeLayerPainted (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: layer_tree :: EventLayerTreeDidChange { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: LayerTreeLayerTreeDidChange (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: layer_tree :: EventLayerTreeDidChange > for CdpEvent { fn from (el : super :: browser_protocol :: layer_tree :: EventLayerTreeDidChange) -> CdpEvent { CdpEvent :: LayerTreeLayerTreeDidChange (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: log :: EventEntryAdded { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: LogEntryAdded (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: log :: EventEntryAdded > for CdpEvent { fn from (el : super :: browser_protocol :: log :: EventEntryAdded) -> CdpEvent { CdpEvent :: LogEntryAdded (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventDataReceived { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkDataReceived (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventDataReceived > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventDataReceived) -> CdpEvent { CdpEvent :: NetworkDataReceived (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventEventSourceMessageReceived { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkEventSourceMessageReceived (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventEventSourceMessageReceived > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventEventSourceMessageReceived) -> CdpEvent { CdpEvent :: NetworkEventSourceMessageReceived (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventLoadingFailed { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkLoadingFailed (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventLoadingFailed > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventLoadingFailed) -> CdpEvent { CdpEvent :: NetworkLoadingFailed (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventLoadingFinished { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkLoadingFinished (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventLoadingFinished > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventLoadingFinished) -> CdpEvent { CdpEvent :: NetworkLoadingFinished (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventRequestServedFromCache { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkRequestServedFromCache (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventRequestServedFromCache > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventRequestServedFromCache) -> CdpEvent { CdpEvent :: NetworkRequestServedFromCache (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventRequestWillBeSent { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkRequestWillBeSent (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventRequestWillBeSent > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventRequestWillBeSent) -> CdpEvent { CdpEvent :: NetworkRequestWillBeSent (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventResourceChangedPriority { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkResourceChangedPriority (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventResourceChangedPriority > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventResourceChangedPriority) -> CdpEvent { CdpEvent :: NetworkResourceChangedPriority (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventSignedExchangeReceived { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkSignedExchangeReceived (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventSignedExchangeReceived > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventSignedExchangeReceived) -> CdpEvent { CdpEvent :: NetworkSignedExchangeReceived (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventResponseReceived { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkResponseReceived (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventResponseReceived > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventResponseReceived) -> CdpEvent { CdpEvent :: NetworkResponseReceived (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventWebSocketClosed { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkWebSocketClosed (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventWebSocketClosed > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventWebSocketClosed) -> CdpEvent { CdpEvent :: NetworkWebSocketClosed (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventWebSocketCreated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkWebSocketCreated (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventWebSocketCreated > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventWebSocketCreated) -> CdpEvent { CdpEvent :: NetworkWebSocketCreated (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventWebSocketFrameError { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkWebSocketFrameError (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventWebSocketFrameError > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventWebSocketFrameError) -> CdpEvent { CdpEvent :: NetworkWebSocketFrameError (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventWebSocketFrameReceived { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkWebSocketFrameReceived (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventWebSocketFrameReceived > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventWebSocketFrameReceived) -> CdpEvent { CdpEvent :: NetworkWebSocketFrameReceived (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventWebSocketFrameSent { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkWebSocketFrameSent (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventWebSocketFrameSent > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventWebSocketFrameSent) -> CdpEvent { CdpEvent :: NetworkWebSocketFrameSent (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventWebSocketHandshakeResponseReceived { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkWebSocketHandshakeResponseReceived (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventWebSocketHandshakeResponseReceived > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventWebSocketHandshakeResponseReceived) -> CdpEvent { CdpEvent :: NetworkWebSocketHandshakeResponseReceived (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventWebSocketWillSendHandshakeRequest { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkWebSocketWillSendHandshakeRequest (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventWebSocketWillSendHandshakeRequest > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventWebSocketWillSendHandshakeRequest) -> CdpEvent { CdpEvent :: NetworkWebSocketWillSendHandshakeRequest (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventRequestWillBeSentExtraInfo { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkRequestWillBeSentExtraInfo (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventRequestWillBeSentExtraInfo > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventRequestWillBeSentExtraInfo) -> CdpEvent { CdpEvent :: NetworkRequestWillBeSentExtraInfo (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: network :: EventResponseReceivedExtraInfo { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: NetworkResponseReceivedExtraInfo (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: network :: EventResponseReceivedExtraInfo > for CdpEvent { fn from (el : super :: browser_protocol :: network :: EventResponseReceivedExtraInfo) -> CdpEvent { CdpEvent :: NetworkResponseReceivedExtraInfo (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: overlay :: EventInspectNodeRequested { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: OverlayInspectNodeRequested (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: overlay :: EventInspectNodeRequested > for CdpEvent { fn from (el : super :: browser_protocol :: overlay :: EventInspectNodeRequested) -> CdpEvent { CdpEvent :: OverlayInspectNodeRequested (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: overlay :: EventNodeHighlightRequested { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: OverlayNodeHighlightRequested (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: overlay :: EventNodeHighlightRequested > for CdpEvent { fn from (el : super :: browser_protocol :: overlay :: EventNodeHighlightRequested) -> CdpEvent { CdpEvent :: OverlayNodeHighlightRequested (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: overlay :: EventScreenshotRequested { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: OverlayScreenshotRequested (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: overlay :: EventScreenshotRequested > for CdpEvent { fn from (el : super :: browser_protocol :: overlay :: EventScreenshotRequested) -> CdpEvent { CdpEvent :: OverlayScreenshotRequested (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: overlay :: EventInspectModeCanceled { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: OverlayInspectModeCanceled (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: overlay :: EventInspectModeCanceled > for CdpEvent { fn from (el : super :: browser_protocol :: overlay :: EventInspectModeCanceled) -> CdpEvent { CdpEvent :: OverlayInspectModeCanceled (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventDomContentEventFired { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageDomContentEventFired (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventDomContentEventFired > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventDomContentEventFired) -> CdpEvent { CdpEvent :: PageDomContentEventFired (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventFileChooserOpened { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageFileChooserOpened (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventFileChooserOpened > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventFileChooserOpened) -> CdpEvent { CdpEvent :: PageFileChooserOpened (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventFrameAttached { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageFrameAttached (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventFrameAttached > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventFrameAttached) -> CdpEvent { CdpEvent :: PageFrameAttached (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventFrameDetached { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageFrameDetached (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventFrameDetached > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventFrameDetached) -> CdpEvent { CdpEvent :: PageFrameDetached (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventFrameNavigated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageFrameNavigated (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventFrameNavigated > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventFrameNavigated) -> CdpEvent { CdpEvent :: PageFrameNavigated (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventFrameResized { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageFrameResized (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventFrameResized > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventFrameResized) -> CdpEvent { CdpEvent :: PageFrameResized (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventFrameRequestedNavigation { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageFrameRequestedNavigation (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventFrameRequestedNavigation > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventFrameRequestedNavigation) -> CdpEvent { CdpEvent :: PageFrameRequestedNavigation (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventFrameStartedLoading { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageFrameStartedLoading (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventFrameStartedLoading > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventFrameStartedLoading) -> CdpEvent { CdpEvent :: PageFrameStartedLoading (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventFrameStoppedLoading { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageFrameStoppedLoading (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventFrameStoppedLoading > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventFrameStoppedLoading) -> CdpEvent { CdpEvent :: PageFrameStoppedLoading (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventDownloadWillBegin { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageDownloadWillBegin (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventDownloadWillBegin > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventDownloadWillBegin) -> CdpEvent { CdpEvent :: PageDownloadWillBegin (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventDownloadProgress { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageDownloadProgress (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventDownloadProgress > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventDownloadProgress) -> CdpEvent { CdpEvent :: PageDownloadProgress (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventInterstitialHidden { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageInterstitialHidden (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventInterstitialHidden > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventInterstitialHidden) -> CdpEvent { CdpEvent :: PageInterstitialHidden (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventInterstitialShown { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageInterstitialShown (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventInterstitialShown > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventInterstitialShown) -> CdpEvent { CdpEvent :: PageInterstitialShown (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventJavascriptDialogClosed { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageJavascriptDialogClosed (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventJavascriptDialogClosed > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventJavascriptDialogClosed) -> CdpEvent { CdpEvent :: PageJavascriptDialogClosed (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventJavascriptDialogOpening { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageJavascriptDialogOpening (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventJavascriptDialogOpening > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventJavascriptDialogOpening) -> CdpEvent { CdpEvent :: PageJavascriptDialogOpening (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventLifecycleEvent { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageLifecycleEvent (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventLifecycleEvent > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventLifecycleEvent) -> CdpEvent { CdpEvent :: PageLifecycleEvent (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventLoadEventFired { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageLoadEventFired (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventLoadEventFired > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventLoadEventFired) -> CdpEvent { CdpEvent :: PageLoadEventFired (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventNavigatedWithinDocument { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageNavigatedWithinDocument (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventNavigatedWithinDocument > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventNavigatedWithinDocument) -> CdpEvent { CdpEvent :: PageNavigatedWithinDocument (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventScreencastFrame { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageScreencastFrame (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventScreencastFrame > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventScreencastFrame) -> CdpEvent { CdpEvent :: PageScreencastFrame (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventScreencastVisibilityChanged { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageScreencastVisibilityChanged (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventScreencastVisibilityChanged > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventScreencastVisibilityChanged) -> CdpEvent { CdpEvent :: PageScreencastVisibilityChanged (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventWindowOpen { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageWindowOpen (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventWindowOpen > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventWindowOpen) -> CdpEvent { CdpEvent :: PageWindowOpen (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: page :: EventCompilationCacheProduced { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PageCompilationCacheProduced (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: page :: EventCompilationCacheProduced > for CdpEvent { fn from (el : super :: browser_protocol :: page :: EventCompilationCacheProduced) -> CdpEvent { CdpEvent :: PageCompilationCacheProduced (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: performance :: EventMetrics { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: PerformanceMetrics (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: performance :: EventMetrics > for CdpEvent { fn from (el : super :: browser_protocol :: performance :: EventMetrics) -> CdpEvent { CdpEvent :: PerformanceMetrics (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: security :: EventVisibleSecurityStateChanged { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: SecurityVisibleSecurityStateChanged (val) => Ok (* val) , _ => Err (event) } } } impl From < super :: browser_protocol :: security :: EventVisibleSecurityStateChanged > for CdpEvent { fn from (el : super :: browser_protocol :: security :: EventVisibleSecurityStateChanged) -> CdpEvent { CdpEvent :: SecurityVisibleSecurityStateChanged (Box :: new (el)) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: security :: EventSecurityStateChanged { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: SecuritySecurityStateChanged (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: security :: EventSecurityStateChanged > for CdpEvent { fn from (el : super :: browser_protocol :: security :: EventSecurityStateChanged) -> CdpEvent { CdpEvent :: SecuritySecurityStateChanged (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: service_worker :: EventWorkerErrorReported { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: ServiceWorkerWorkerErrorReported (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: service_worker :: EventWorkerErrorReported > for CdpEvent { fn from (el : super :: browser_protocol :: service_worker :: EventWorkerErrorReported) -> CdpEvent { CdpEvent :: ServiceWorkerWorkerErrorReported (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: service_worker :: EventWorkerRegistrationUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: ServiceWorkerWorkerRegistrationUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: service_worker :: EventWorkerRegistrationUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: service_worker :: EventWorkerRegistrationUpdated) -> CdpEvent { CdpEvent :: ServiceWorkerWorkerRegistrationUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: service_worker :: EventWorkerVersionUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: ServiceWorkerWorkerVersionUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: service_worker :: EventWorkerVersionUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: service_worker :: EventWorkerVersionUpdated) -> CdpEvent { CdpEvent :: ServiceWorkerWorkerVersionUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: storage :: EventCacheStorageContentUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: StorageCacheStorageContentUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: storage :: EventCacheStorageContentUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: storage :: EventCacheStorageContentUpdated) -> CdpEvent { CdpEvent :: StorageCacheStorageContentUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: storage :: EventCacheStorageListUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: StorageCacheStorageListUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: storage :: EventCacheStorageListUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: storage :: EventCacheStorageListUpdated) -> CdpEvent { CdpEvent :: StorageCacheStorageListUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_protocol :: storage :: EventIndexedDbContentUpdated { type Error = CdpEvent ; fn try_from (event : CdpEvent) -> Result < Self , Self :: Error > { match event { CdpEvent :: StorageIndexedDbContentUpdated (val) => Ok (val) , _ => Err (event) } } } impl From < super :: browser_protocol :: storage :: EventIndexedDbContentUpdated > for CdpEvent { fn from (el : super :: browser_protocol :: storage :: EventIndexedDbContentUpdated) -> CdpEvent { CdpEvent :: StorageIndexedDbContentUpdated (el) } } impl std :: convert :: TryFrom < CdpEvent > for super :: browser_prot [INFO] [stderr] error: could not document `chromiumoxide_cdp` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name chromiumoxide_cdp src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern chromiumoxide_pdl=/opt/rustwide/target/debug/deps/libchromiumoxide_pdl-43125b3fee0d9fd6.rmeta --extern chromiumoxide_types=/opt/rustwide/target/debug/deps/libchromiumoxide_types-ffaebaf4cdb4799d.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-a148e46ac9993373.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-478ef5e4f2dae739.rmeta --cap-lints=warn --crate-version 0.3.1` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "db04c5c87505581408abb1aaadb5c6d9e2e1dce50be3ebd00ef3cb5cf89657bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db04c5c87505581408abb1aaadb5c6d9e2e1dce50be3ebd00ef3cb5cf89657bc", kill_on_drop: false }` [INFO] [stdout] db04c5c87505581408abb1aaadb5c6d9e2e1dce50be3ebd00ef3cb5cf89657bc