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

Required Methods§

Source

fn Channel(&self) -> Root<Dom<<D as DomTypes>::RTCDataChannel>>

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &RTCDataChannelEventInit<D>, ) -> Root<Dom<<D as DomTypes>::RTCDataChannelEvent>>

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§