pub trait RTCPeerConnectionIceEventMethods<D>where
D: DomTypes,{
// Required methods
fn GetCandidate(
&self,
) -> Option<Root<Dom<<D as DomTypes>::RTCIceCandidate>>>;
fn GetUrl(&self) -> Option<DOMString>;
fn IsTrusted(&self) -> bool;
fn Constructor(
cx: &mut JSContext,
global: &<D as DomTypes>::Window,
proto: Option<Handle<'_, *mut JSObject>>,
type_: DOMString,
eventInitDict: &RTCPeerConnectionIceEventInit<D>,
) -> Result<Root<Dom<<D as DomTypes>::RTCPeerConnectionIceEvent>>, Error>;
}Required Methods§
fn GetCandidate(&self) -> Option<Root<Dom<<D as DomTypes>::RTCIceCandidate>>>
fn GetUrl(&self) -> Option<DOMString>
fn IsTrusted(&self) -> bool
fn Constructor( cx: &mut JSContext, global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, type_: DOMString, eventInitDict: &RTCPeerConnectionIceEventInit<D>, ) -> Result<Root<Dom<<D as DomTypes>::RTCPeerConnectionIceEvent>>, 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.