Struct medea_client_api_proto::stats::RtcPeerConnectionStats[][src]

pub struct RtcPeerConnectionStats {
    pub data_channels_opened: Option<u64>,
    pub data_channels_closed: Option<u64>,
    pub data_channels_requested: Option<u64>,
    pub data_channels_accepted: Option<u64>,
}
This is supported on crate feature extended-stats only.

Fields

data_channels_opened: Option<u64>

Number of unique DataChannels that have entered the open state during their lifetime.

data_channels_closed: Option<u64>

Number of unique DataChannels that have left the open state during their lifetime (due to being closed by either end or the underlying transport being closed). DataChannels that transition from connecting to closing or closed without ever being open are not counted in this number.

data_channels_requested: Option<u64>

Number of unique DataChannels returned from a successful createDataChannel call on the RTCPeerConnection. If the underlying data transport is not established, these may be in the connecting state.

data_channels_accepted: Option<u64>

Number of unique DataChannels signaled in a datachannel event on the RTCPeerConnection.

Trait Implementations

impl Clone for RtcPeerConnectionStats[src]

impl Copy for RtcPeerConnectionStats[src]

impl Debug for RtcPeerConnectionStats[src]

impl<'de> Deserialize<'de> for RtcPeerConnectionStats[src]

impl Hash for RtcPeerConnectionStats[src]

impl PartialEq<RtcPeerConnectionStats> for RtcPeerConnectionStats[src]

impl Serialize for RtcPeerConnectionStats[src]

impl StructuralPartialEq for RtcPeerConnectionStats[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.