web_webtransport_sys/gen/
gen_WebTransportError.rs

1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebTransportError , typescript_type = "WebTransportError")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `WebTransportError` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportError)"]
11    pub type WebTransportError;
12    # [wasm_bindgen (structural , method , getter , js_class = "WebTransportError" , js_name = source)]
13    #[doc = "Getter for the `source` field of this object."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportError/source)"]
16    pub fn source(this: &WebTransportError) -> WebTransportErrorSource;
17    # [wasm_bindgen (structural , method , getter , js_class = "WebTransportError" , js_name = streamErrorCode)]
18    #[doc = "Getter for the `streamErrorCode` field of this object."]
19    #[doc = ""]
20    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportError/streamErrorCode)"]
21    pub fn stream_error_code(this: &WebTransportError) -> Option<u32>;
22}