Trait SecurityPolicyViolationEventMethods

Source
pub(crate) trait SecurityPolicyViolationEventMethods<D>
where D: DomTypes,
{
Show 14 methods // Required methods fn DocumentURI(&self) -> USVString; fn Referrer(&self) -> USVString; fn BlockedURI(&self) -> USVString; fn EffectiveDirective(&self) -> DOMString; fn ViolatedDirective(&self) -> DOMString; fn OriginalPolicy(&self) -> DOMString; fn SourceFile(&self) -> USVString; fn Sample(&self) -> DOMString; fn Disposition(&self) -> SecurityPolicyViolationEventDisposition; fn StatusCode(&self) -> u16; fn LineNumber(&self) -> u32; fn ColumnNumber(&self) -> u32; fn IsTrusted(&self) -> bool; fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &SecurityPolicyViolationEventInit, ) -> Root<Dom<<D as DomTypes>::SecurityPolicyViolationEvent>>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§