[][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() -> Self[src]

Construct a new RtcConfiguration.

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

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

Change 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]

Change 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]

Change 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]

Change 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]

Change 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 AsRef<Object> for RtcConfiguration[src]

impl AsRef<RtcConfiguration> for RtcConfiguration[src]

impl Clone for RtcConfiguration[src]

impl Debug for RtcConfiguration[src]

impl Deref for RtcConfiguration[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for RtcConfiguration[src]

impl From<JsValue> for RtcConfiguration[src]

impl From<RtcConfiguration> for JsValue[src]

impl From<RtcConfiguration> for Object[src]

impl FromWasmAbi for RtcConfiguration[src]

type Abi = <JsValue 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 = <JsValue 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 JsValue 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 PartialEq<RtcConfiguration> for RtcConfiguration[src]

impl RefFromWasmAbi for RtcConfiguration[src]

type Abi = <JsValue 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 StructuralEq for RtcConfiguration[src]

impl StructuralPartialEq for RtcConfiguration[src]

impl WasmDescribe for RtcConfiguration[src]

Auto Trait Implementations

impl RefUnwindSafe for RtcConfiguration

impl !Send for RtcConfiguration

impl !Sync for RtcConfiguration

impl Unpin for RtcConfiguration

impl UnwindSafe for RtcConfiguration

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.