web_webtransport_sys/gen/
gen_WebTransportDatagramDuplexStream.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 = WebTransportDatagramDuplexStream , typescript_type = "WebTransportDatagramDuplexStream")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `WebTransportDatagramDuplexStream` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream)"]
11    pub type WebTransportDatagramDuplexStream;
12    # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = maxDatagramSize)]
13    #[doc = "Getter for the `maxDatagramSize` field of this object."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/maxDatagramSize)"]
16    pub fn max_datagram_size(this: &WebTransportDatagramDuplexStream) -> u32;
17    # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = incomingMaxAge)]
18    #[doc = "Getter for the `incomingMaxAge` field of this object."]
19    #[doc = ""]
20    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge)"]
21    pub fn incoming_max_age(this: &WebTransportDatagramDuplexStream) -> Option<f64>;
22    # [wasm_bindgen (structural , method , setter , js_class = "WebTransportDatagramDuplexStream" , js_name = incomingMaxAge)]
23    #[doc = "Setter for the `incomingMaxAge` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge)"]
26    pub fn set_incoming_max_age(this: &WebTransportDatagramDuplexStream, value: Option<f64>);
27    # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = outgoingMaxAge)]
28    #[doc = "Getter for the `outgoingMaxAge` field of this object."]
29    #[doc = ""]
30    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)"]
31    pub fn outgoing_max_age(this: &WebTransportDatagramDuplexStream) -> Option<f64>;
32    # [wasm_bindgen (structural , method , setter , js_class = "WebTransportDatagramDuplexStream" , js_name = outgoingMaxAge)]
33    #[doc = "Setter for the `outgoingMaxAge` field of this object."]
34    #[doc = ""]
35    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)"]
36    pub fn set_outgoing_max_age(this: &WebTransportDatagramDuplexStream, value: Option<f64>);
37    # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = incomingHighWaterMark)]
38    #[doc = "Getter for the `incomingHighWaterMark` field of this object."]
39    #[doc = ""]
40    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark)"]
41    pub fn incoming_high_water_mark(this: &WebTransportDatagramDuplexStream) -> f64;
42    # [wasm_bindgen (structural , method , setter , js_class = "WebTransportDatagramDuplexStream" , js_name = incomingHighWaterMark)]
43    #[doc = "Setter for the `incomingHighWaterMark` field of this object."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark)"]
46    pub fn set_incoming_high_water_mark(this: &WebTransportDatagramDuplexStream, value: f64);
47    # [wasm_bindgen (structural , method , getter , js_class = "WebTransportDatagramDuplexStream" , js_name = outgoingHighWaterMark)]
48    #[doc = "Getter for the `outgoingHighWaterMark` field of this object."]
49    #[doc = ""]
50    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark)"]
51    pub fn outgoing_high_water_mark(this: &WebTransportDatagramDuplexStream) -> f64;
52    # [wasm_bindgen (structural , method , setter , js_class = "WebTransportDatagramDuplexStream" , js_name = outgoingHighWaterMark)]
53    #[doc = "Setter for the `outgoingHighWaterMark` field of this object."]
54    #[doc = ""]
55    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark)"]
56    pub fn set_outgoing_high_water_mark(this: &WebTransportDatagramDuplexStream, value: f64);
57}