pub trait RTCErrorMethods<D>where
    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: &<D as DomTypes>::Window,
        proto: Option<Handle<'_, *mut JSObject>>,
        can_gc: CanGc,
        init: &RTCErrorInit,
        message: DOMString,
    ) -> Root<Dom<<D as DomTypes>::RTCError>>;
}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: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, init: &RTCErrorInit, message: DOMString, ) -> Root<Dom<<D as DomTypes>::RTCError>>
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.