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: &D::Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
init: &RTCErrorInit,
message: DOMString,
) -> DomRoot<D::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::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, init: &RTCErrorInit, message: DOMString, ) -> DomRoot<D::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.