Trait DOMExceptionMethods

Source
pub(crate) trait DOMExceptionMethods<D>
where D: DomTypes,
{ // Required methods fn Code(&self) -> u16; fn Name(&self) -> DOMString; fn Message(&self) -> DOMString; fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, message: DOMString, name: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::DOMException>>, Error>; }

Required Methods§

Source

fn Code(&self) -> u16

Source

fn Name(&self) -> DOMString

Source

fn Message(&self) -> DOMString

Source

fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, message: DOMString, name: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::DOMException>>, Error>

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§