[][src]Struct agorartc_sys::agorartc::agorartcnative::RtcStats

#[repr(C)]pub struct RtcStats {
    pub duration: c_uint,
    pub txBytes: c_uint,
    pub rxBytes: c_uint,
    pub txAudioBytes: c_uint,
    pub txVideoBytes: c_uint,
    pub rxAudioBytes: c_uint,
    pub rxVideoBytes: c_uint,
    pub txKBitRate: c_ushort,
    pub rxKBitRate: c_ushort,
    pub rxAudioKBitRate: c_ushort,
    pub txAudioKBitRate: c_ushort,
    pub rxVideoKBitRate: c_ushort,
    pub txVideoKBitRate: c_ushort,
    pub lastmileDelay: c_ushort,
    pub txPacketLossRate: c_ushort,
    pub rxPacketLossRate: c_ushort,
    pub userCount: c_uint,
    pub cpuAppUsage: f64,
    pub cpuTotalUsage: f64,
    pub gatewayRtt: c_int,
    pub memoryAppUsageRatio: f64,
    pub memoryTotalUsageRatio: f64,
    pub memoryAppUsageInKbytes: c_int,
}

Fields

duration: c_uinttxBytes: c_uintrxBytes: c_uinttxAudioBytes: c_uinttxVideoBytes: c_uintrxAudioBytes: c_uintrxVideoBytes: c_uinttxKBitRate: c_ushortrxKBitRate: c_ushortrxAudioKBitRate: c_ushorttxAudioKBitRate: c_ushortrxVideoKBitRate: c_ushorttxVideoKBitRate: c_ushortlastmileDelay: c_ushorttxPacketLossRate: c_ushortrxPacketLossRate: c_ushortuserCount: c_uintcpuAppUsage: f64cpuTotalUsage: f64gatewayRtt: c_intmemoryAppUsageRatio: f64memoryTotalUsageRatio: f64memoryAppUsageInKbytes: c_int

Trait Implementations

impl Clone for RtcStats[src]

impl Copy for RtcStats[src]

impl Debug for RtcStats[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> 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.