1 #![allow(unused_imports)]
2 use wasm_bindgen::prelude::*;
3 #[wasm_bindgen]
4 #[doc = "The `RequestMode` enum."]
5 #[doc = ""]
6 #[doc = "*This API requires the following crate features to be activated: `RequestMode`*"]
7 #[derive(Debug, Clone, Copy, PartialEq, Eq)]
8 pub enum RequestMode {
9     SameOrigin = "same-origin",
10     NoCors = "no-cors",
11     Cors = "cors",
12     Navigate = "navigate",
13 }
14