pub enum CspViolationType {
TrustedtypeSinkViolation,
TrustedtypePolicyViolation,
Unrecognized(String),
}Expand description
CSP Violation type.
Experimental: may change without notice.
Variants§
TrustedtypeSinkViolation
trustedtype-sink-violation
TrustedtypePolicyViolation
trustedtype-policy-violation
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 CspViolationType
impl Clone for CspViolationType
Source§impl Debug for CspViolationType
impl Debug for CspViolationType
Source§impl<'de> Deserialize<'de> for CspViolationType
impl<'de> Deserialize<'de> for CspViolationType
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 CspViolationType
Source§impl Hash for CspViolationType
impl Hash for CspViolationType
Source§impl PartialEq for CspViolationType
impl PartialEq for CspViolationType
Source§impl Serialize for CspViolationType
impl Serialize for CspViolationType
impl StructuralPartialEq for CspViolationType
Auto Trait Implementations§
impl Forget for CspViolationType
impl Freeze for CspViolationType
impl RefUnwindSafe for CspViolationType
impl Send for CspViolationType
impl Sync for CspViolationType
impl Unpin for CspViolationType
impl UnsafeUnpin for CspViolationType
impl UnwindSafe for CspViolationType
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