web_sys/features/
gen_RtcPeerConnectionIceErrorEvent.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "Event",
9 extends = "::js_sys::Object",
10 js_name = "RTCPeerConnectionIceErrorEvent",
11 typescript_type = "RTCPeerConnectionIceErrorEvent"
12 )]
13 #[derive(Debug, Clone, PartialEq, Eq)]
14 #[doc = "The `RtcPeerConnectionIceErrorEvent` class."]
15 #[doc = ""]
16 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceErrorEvent)"]
17 #[doc = ""]
18 #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceErrorEvent`*"]
19 pub type RtcPeerConnectionIceErrorEvent;
20 #[wasm_bindgen(
21 method,
22 getter,
23 js_class = "RTCPeerConnectionIceErrorEvent",
24 js_name = "address"
25 )]
26 #[doc = "Getter for the `address` field of this object."]
27 #[doc = ""]
28 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)"]
29 #[doc = ""]
30 #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceErrorEvent`*"]
31 pub fn address(this: &RtcPeerConnectionIceErrorEvent) -> Option<::alloc::string::String>;
32 #[wasm_bindgen(
33 method,
34 getter,
35 js_class = "RTCPeerConnectionIceErrorEvent",
36 js_name = "port"
37 )]
38 #[doc = "Getter for the `port` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceErrorEvent/port)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceErrorEvent`*"]
43 pub fn port(this: &RtcPeerConnectionIceErrorEvent) -> Option<u16>;
44 #[wasm_bindgen(
45 method,
46 getter,
47 js_class = "RTCPeerConnectionIceErrorEvent",
48 js_name = "url"
49 )]
50 #[doc = "Getter for the `url` field of this object."]
51 #[doc = ""]
52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceErrorEvent/url)"]
53 #[doc = ""]
54 #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceErrorEvent`*"]
55 pub fn url(this: &RtcPeerConnectionIceErrorEvent) -> ::alloc::string::String;
56 #[wasm_bindgen(
57 method,
58 getter,
59 js_class = "RTCPeerConnectionIceErrorEvent",
60 js_name = "errorCode"
61 )]
62 #[doc = "Getter for the `errorCode` field of this object."]
63 #[doc = ""]
64 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode)"]
65 #[doc = ""]
66 #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceErrorEvent`*"]
67 pub fn error_code(this: &RtcPeerConnectionIceErrorEvent) -> u16;
68 #[wasm_bindgen(
69 method,
70 getter,
71 js_class = "RTCPeerConnectionIceErrorEvent",
72 js_name = "errorText"
73 )]
74 #[doc = "Getter for the `errorText` field of this object."]
75 #[doc = ""]
76 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText)"]
77 #[doc = ""]
78 #[doc = "*This API requires the following crate features to be activated: `RtcPeerConnectionIceErrorEvent`*"]
79 pub fn error_text(this: &RtcPeerConnectionIceErrorEvent) -> ::alloc::string::String;
80}