pub enum BlockedReason {
Show 17 variants
Other,
Csp,
MixedContent,
Origin,
Inspector,
Integrity,
SubresourceFilter,
ContentType,
CoepFrameResourceNeedsCoepHeader,
CoopSandboxedIframeCannotNavigateToCoopPage,
CorpNotSameOrigin,
CorpNotSameOriginAfterDefaultedToSameOriginByCoep,
CorpNotSameOriginAfterDefaultedToSameOriginByDip,
CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip,
CorpNotSameSite,
SriMessageSignatureMismatch,
Unrecognized(String),
}Expand description
The reason why request was blocked.
Variants§
Other
other
Csp
csp
MixedContent
mixed-content
Origin
origin
Inspector
inspector
Integrity
integrity
SubresourceFilter
subresource-filter
ContentType
content-type
CoepFrameResourceNeedsCoepHeader
coep-frame-resource-needs-coep-header
coop-sandboxed-iframe-cannot-navigate-to-coop-page
CorpNotSameOrigin
corp-not-same-origin
CorpNotSameOriginAfterDefaultedToSameOriginByCoep
corp-not-same-origin-after-defaulted-to-same-origin-by-coep
CorpNotSameOriginAfterDefaultedToSameOriginByDip
corp-not-same-origin-after-defaulted-to-same-origin-by-dip
CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip
corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip
CorpNotSameSite
corp-not-same-site
SriMessageSignatureMismatch
sri-message-signature-mismatch
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for BlockedReason
impl Clone for BlockedReason
Source§impl Debug for BlockedReason
impl Debug for BlockedReason
Source§impl<'de> Deserialize<'de> for BlockedReason
impl<'de> Deserialize<'de> for BlockedReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BlockedReason
Source§impl Hash for BlockedReason
impl Hash for BlockedReason
Source§impl PartialEq for BlockedReason
impl PartialEq for BlockedReason
Source§impl Serialize for BlockedReason
impl Serialize for BlockedReason
impl StructuralPartialEq for BlockedReason
Auto Trait Implementations§
impl Forget for BlockedReason
impl Freeze for BlockedReason
impl RefUnwindSafe for BlockedReason
impl Send for BlockedReason
impl Sync for BlockedReason
impl Unpin for BlockedReason
impl UnsafeUnpin for BlockedReason
impl UnwindSafe for BlockedReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more