Struct mediasoup::consumer::ConsumerStat[][src]

#[non_exhaustive]pub struct ConsumerStat {
    pub timestamp: u64,
    pub ssrc: u32,
    pub rtx_ssrc: Option<u32>,
    pub kind: MediaKind,
    pub mime_type: MimeType,
    pub packets_lost: u32,
    pub fraction_lost: u8,
    pub packets_discarded: usize,
    pub packets_retransmitted: usize,
    pub packets_repaired: usize,
    pub nack_count: usize,
    pub nack_packet_count: usize,
    pub pli_count: usize,
    pub fir_count: usize,
    pub score: u8,
    pub packet_count: usize,
    pub byte_count: usize,
    pub bitrate: u32,
    pub round_trip_time: Option<u32>,
}

RTC statistics of the consumer alone.

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
timestamp: u64ssrc: u32rtx_ssrc: Option<u32>kind: MediaKindmime_type: MimeTypepackets_lost: u32fraction_lost: u8packets_discarded: usizepackets_retransmitted: usizepackets_repaired: usizenack_count: usizenack_packet_count: usizepli_count: usizefir_count: usizescore: u8packet_count: usizebyte_count: usizebitrate: u32round_trip_time: Option<u32>

Trait Implementations

impl Clone for ConsumerStat[src]

impl Debug for ConsumerStat[src]

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

impl PartialEq<ConsumerStat> for ConsumerStat[src]

impl Serialize for ConsumerStat[src]

impl StructuralPartialEq for ConsumerStat[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.