maxcountryman_web_sys/features/
gen_MediaStreamError.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = MediaStreamError , typescript_type = "MediaStreamError")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `MediaStreamError` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamError)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `MediaStreamError`*"]
13 pub type MediaStreamError;
14 # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamError" , js_name = name)]
15 #[doc = "Getter for the `name` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamError/name)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `MediaStreamError`*"]
20 pub fn name(this: &MediaStreamError) -> String;
21 # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamError" , js_name = message)]
22 #[doc = "Getter for the `message` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamError/message)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `MediaStreamError`*"]
27 pub fn message(this: &MediaStreamError) -> Option<String>;
28 # [wasm_bindgen (structural , method , getter , js_class = "MediaStreamError" , js_name = constraint)]
29 #[doc = "Getter for the `constraint` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamError/constraint)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `MediaStreamError`*"]
34 pub fn constraint(this: &MediaStreamError) -> Option<String>;
35}