Enum web_sys::ReferrerPolicy
source · [−]pub enum ReferrerPolicy {
None,
NoReferrer,
NoReferrerWhenDowngrade,
Origin,
OriginWhenCrossOrigin,
UnsafeUrl,
SameOrigin,
StrictOrigin,
StrictOriginWhenCrossOrigin,
// some variants omitted
}
Expand description
The ReferrerPolicy
enum.
This API requires the following crate features to be activated: ReferrerPolicy
Variants
None
NoReferrer
NoReferrerWhenDowngrade
Origin
OriginWhenCrossOrigin
UnsafeUrl
SameOrigin
StrictOrigin
StrictOriginWhenCrossOrigin
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ReferrerPolicy
impl Send for ReferrerPolicy
impl Sync for ReferrerPolicy
impl Unpin for ReferrerPolicy
impl UnwindSafe for ReferrerPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more