pub trait RTCErrorEventMethods<D: DomTypes> {
    // Required methods
    fn Error(&self) -> Root<Dom<RTCError>>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &RTCErrorEventInit,
    ) -> Root<Dom<RTCErrorEvent>>;
}

Required Methods§

source

fn Error(&self) -> Root<Dom<RTCError>>

source

fn IsTrusted(&self) -> bool

source

fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &RTCErrorEventInit, ) -> Root<Dom<RTCErrorEvent>>

Object Safety§

This trait is not object safe.

Implementors§