pub trait RTCDataChannelEventMethods {
    // Required methods
    fn Channel(&self) -> Root<Dom<RTCDataChannel>>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &RTCDataChannelEventInit,
    ) -> Root<Dom<RTCDataChannelEvent>>;
}

Required Methods§

source

fn Channel(&self) -> Root<Dom<RTCDataChannel>>

source

fn IsTrusted(&self) -> bool

source

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

Object Safety§

This trait is not object safe.

Implementors§