pub trait RTCErrorMethods<D: DomTypes> {
    // Required methods
    fn ErrorDetail(&self) -> RTCErrorDetailType;
    fn GetSdpLineNumber(&self) -> Option<i32>;
    fn GetHttpRequestStatusCode(&self) -> Option<i32>;
    fn GetSctpCauseCode(&self) -> Option<i32>;
    fn GetReceivedAlert(&self) -> Option<u32>;
    fn GetSentAlert(&self) -> Option<u32>;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        init: &RTCErrorInit,
        message: DOMString,
    ) -> Root<Dom<RTCError>>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§