pub(crate) trait RTCSessionDescriptionMethods<D>where
D: DomTypes,{
// Required methods
fn Type(&self) -> RTCSdpType;
fn Sdp(&self) -> DOMString;
fn Constructor(
cx: &mut JSContext,
global: &<D as DomTypes>::Window,
proto: Option<Handle<'_, *mut JSObject>>,
descriptionInitDict: &RTCSessionDescriptionInit,
) -> Result<Root<Dom<<D as DomTypes>::RTCSessionDescription>>, Error>;
}Required Methods§
fn Type(&self) -> RTCSdpType
fn Sdp(&self) -> DOMString
fn Constructor( cx: &mut JSContext, global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, descriptionInitDict: &RTCSessionDescriptionInit, ) -> Result<Root<Dom<<D as DomTypes>::RTCSessionDescription>>, 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.