pub trait RTCSessionDescriptionMethods<D: DomTypes> {
    // Required methods
    fn Type(&self) -> RTCSdpType;
    fn Sdp(&self) -> DOMString;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        descriptionInitDict: &RTCSessionDescriptionInit,
    ) -> Result<Root<Dom<RTCSessionDescription>>, Error>;
}

Required Methods§

source

fn Type(&self) -> RTCSdpType

source

fn Sdp(&self) -> DOMString

source

fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, descriptionInitDict: &RTCSessionDescriptionInit, ) -> Result<Root<Dom<RTCSessionDescription>>, Error>

Object Safety§

This trait is not object safe.

Implementors§