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