pub(crate) trait RTCPeerConnectionIceEventMethods<D: DomTypes> {
// Required methods
fn GetCandidate(&self) -> Option<DomRoot<D::RTCIceCandidate>>;
fn GetUrl(&self) -> Option<DOMString>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &D::Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &RTCPeerConnectionIceEventInit<D>,
) -> Fallible<DomRoot<D::RTCPeerConnectionIceEvent>>;
}
Required Methods§
fn GetCandidate(&self) -> Option<DomRoot<D::RTCIceCandidate>>
fn GetUrl(&self) -> Option<DOMString>
fn IsTrusted(&self) -> bool
fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &RTCPeerConnectionIceEventInit<D>, ) -> Fallible<DomRoot<D::RTCPeerConnectionIceEvent>>
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.