Enum web_sys::HeadersGuardEnum
source · pub enum HeadersGuardEnum {
None,
Request,
RequestNoCors,
Response,
Immutable,
// some variants omitted
}
Variants§
Implementations§
source§impl HeadersGuardEnum
impl HeadersGuardEnum
pub fn from_js_value(obj: &JsValue) -> Option<HeadersGuardEnum>
Trait Implementations§
source§impl Clone for HeadersGuardEnum
impl Clone for HeadersGuardEnum
source§fn clone(&self) -> HeadersGuardEnum
fn clone(&self) -> HeadersGuardEnum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HeadersGuardEnum
impl Debug for HeadersGuardEnum
source§impl From<HeadersGuardEnum> for JsValue
impl From<HeadersGuardEnum> for JsValue
source§fn from(obj: HeadersGuardEnum) -> JsValue
fn from(obj: HeadersGuardEnum) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for HeadersGuardEnum
impl FromWasmAbi for HeadersGuardEnum
source§impl IntoWasmAbi for HeadersGuardEnum
impl IntoWasmAbi for HeadersGuardEnum
source§impl PartialEq<HeadersGuardEnum> for HeadersGuardEnum
impl PartialEq<HeadersGuardEnum> for HeadersGuardEnum
source§fn eq(&self, other: &HeadersGuardEnum) -> bool
fn eq(&self, other: &HeadersGuardEnum) -> bool
impl Copy for HeadersGuardEnum
impl StructuralPartialEq for HeadersGuardEnum
Auto Trait Implementations§
impl RefUnwindSafe for HeadersGuardEnum
impl Send for HeadersGuardEnum
impl Sync for HeadersGuardEnum
impl Unpin for HeadersGuardEnum
impl UnwindSafe for HeadersGuardEnum
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more