[][src]Struct web_sys::RtcConfiguration

#[repr(transparent)]
pub struct RtcConfiguration { /* fields omitted */ }

The RTCConfiguration dictionary

This API requires the following crate features to be activated: RtcConfiguration

Methods

impl RtcConfiguration[src]

pub fn new() -> RtcConfiguration[src]

Construct a new RTCConfiguration

This API requires the following crate features to be activated: RtcBundlePolicy, RtcConfiguration, RtcIceTransportPolicy

pub fn bundle_policy(&mut self, val: RtcBundlePolicy) -> &mut Self[src]

Configure the bundlePolicy field of this object

This API requires the following crate features to be activated: RtcBundlePolicy, RtcConfiguration

pub fn certificates(&mut self, val: &JsValue) -> &mut Self[src]

Configure the certificates field of this object

This API requires the following crate features to be activated: RtcConfiguration

pub fn ice_servers(&mut self, val: &JsValue) -> &mut Self[src]

Configure the iceServers field of this object

This API requires the following crate features to be activated: RtcConfiguration

pub fn ice_transport_policy(&mut self, val: RtcIceTransportPolicy) -> &mut Self[src]

Configure the iceTransportPolicy field of this object

This API requires the following crate features to be activated: RtcConfiguration, RtcIceTransportPolicy

pub fn peer_identity(&mut self, val: Option<&str>) -> &mut Self[src]

Configure the peerIdentity field of this object

This API requires the following crate features to be activated: RtcConfiguration

Trait Implementations

impl AsRef<JsValue> for RtcConfiguration[src]

impl Clone for RtcConfiguration[src]

impl Debug for RtcConfiguration[src]

impl From<RtcConfiguration> for JsValue[src]

impl FromWasmAbi for RtcConfiguration[src]

type Abi = <Object as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for RtcConfiguration[src]

type Abi = <Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a RtcConfiguration[src]

type Abi = <&'a Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for RtcConfiguration[src]

impl OptionFromWasmAbi for RtcConfiguration[src]

impl OptionIntoWasmAbi for RtcConfiguration[src]

impl<'a> OptionIntoWasmAbi for &'a RtcConfiguration[src]

impl RefFromWasmAbi for RtcConfiguration[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<RtcConfiguration>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl WasmDescribe for RtcConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.