[][src]Struct web_sys::RtcRtpReceiver

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

The RtcRtpReceiver class.

MDN Documentation

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

Methods

impl RtcRtpReceiver[src]

pub fn track(&self) -> MediaStreamTrack[src]

Getter for the track field of this object.

MDN Documentation

This API requires the following crate features to be activated: MediaStreamTrack, RtcRtpReceiver

impl RtcRtpReceiver[src]

pub fn get_contributing_sources(&self) -> Array[src]

The getContributingSources() method.

MDN Documentation

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

impl RtcRtpReceiver[src]

pub fn get_stats(&self) -> Promise[src]

The getStats() method.

MDN Documentation

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

impl RtcRtpReceiver[src]

pub fn get_synchronization_sources(&self) -> Array[src]

The getSynchronizationSources() method.

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for RtcRtpReceiver[src]

impl AsRef<Object> for RtcRtpReceiver[src]

impl AsRef<RtcRtpReceiver> for RtcRtpReceiver[src]

impl Clone for RtcRtpReceiver[src]

impl Debug for RtcRtpReceiver[src]

impl Deref for RtcRtpReceiver[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for RtcRtpReceiver[src]

impl From<JsValue> for RtcRtpReceiver[src]

impl From<RtcRtpReceiver> for JsValue[src]

impl From<RtcRtpReceiver> for Object[src]

impl FromWasmAbi for RtcRtpReceiver[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 RtcRtpReceiver[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 RtcRtpReceiver[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 RtcRtpReceiver[src]

impl OptionFromWasmAbi for RtcRtpReceiver[src]

impl OptionIntoWasmAbi for RtcRtpReceiver[src]

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

impl PartialEq<RtcRtpReceiver> for RtcRtpReceiver[src]

impl RefFromWasmAbi for RtcRtpReceiver[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<RtcRtpReceiver>

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 RtcRtpReceiver[src]

impl StructuralPartialEq for RtcRtpReceiver[src]

impl WasmDescribe for RtcRtpReceiver[src]

Auto Trait Implementations

impl RefUnwindSafe for RtcRtpReceiver

impl !Send for RtcRtpReceiver

impl !Sync for RtcRtpReceiver

impl Unpin for RtcRtpReceiver

impl UnwindSafe for RtcRtpReceiver

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.