chrome_devtools/domain/runtime/
mod.rs

1pub mod event;
2pub mod method;
3pub mod r#type;
4
5pub use event::Event;
6pub use method::{ReturnMethod, SendMethod};
7
8use serde::{Deserialize, Serialize};
9
10/// See documentation for the
11/// [Runtime domain](https://chromedevtools.github.io/devtools-protocol/tot/Runtime)
12#[derive(Debug, Serialize, Deserialize)]
13#[serde(untagged)]
14pub enum Runtime {
15    Event(Event),
16    Method(ReturnMethod),
17}